struct_assignment: fix how smatch handles foo = NULL;
commitb9001b769cac8969b7dc22b0ab840a35ab21ccf6
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 29 Apr 2014 14:15:00 +0000 (29 17:15 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 2 May 2014 12:56:33 +0000 (2 15:56 +0300)
treee8ea32e8c6f57b2fdbccf8a5a7e99fcd7f09dd2d
parent6ded1240941072c7685f2be8323d6c0ce1d2c5c2
struct_assignment: fix how smatch handles foo = NULL;

Before when you set "foo = NULL;" then it would create fake assignments to
say that "foo->bar = NULL;".  This means we store the wrong information in
the database.

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