struct_assignment: handle pointers better
commit684d22382af791033338d2b06d0d44dff45274ee
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 15 Jun 2016 18:52:21 +0000 (15 21:52 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 15 Jun 2016 18:52:21 +0000 (15 21:52 +0300)
treeca2d4def201d65c9df71f8e009f1a60756374aac
parentc655d64fcd9597ec146855896f2138727b5d4068
struct_assignment: handle pointers better

Before if you had a function like:

frob(&my_int);

That was handled.  But if you had:

frob(my_int_ptr);

Then it didn't set *my_int_ptr.

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