user_data2: use fake assignments instead of duplicating that (badly)
commit23522186eb77940baa7ae7989aa84d8987e5c044
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Jan 2016 11:06:48 +0000 (13 14:06 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Jan 2016 11:06:48 +0000 (13 14:06 +0300)
tree29e0be5623bb2eb1e1a87906dbd86eae23cbac0a
parent79ac95ba230db64849996d3f992bfc240f00a59c
user_data2: use fake assignments instead of duplicating that (badly)

Say you have a struct assignment "foo = bar;" where foo and bar are the
same kind of struct, then we don't need to set all the members of foo to
user data, we can use the fake assignments instead.  The bug here is that
maybe we already set parts of bar to non-user data so setting all of foo
to user data causes false positives.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
check_user_data2.c