extra: small fix for when the database is disabled but we have inline info
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 15 Apr 2013 08:49:11 +0000 (11:49 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 15 Apr 2013 08:49:11 +0000 (11:49 +0300)
commit9359a56056f005e7b56aa52c14f9790b7ccc4e4b
tree5827e0fa370751f62cdea711356a90045b9a6fb3
parentb7d95a374492711498fa26b4331a8abbd3a3752d
extra: small fix for when the database is disabled but we have inline info

This is to change how this is handled:

foo(&bar);

In the original code if there wasn't a cross function database then it
just resets the struct.  But in the new code if we have the information in
the in-memory database then we use that instead of blindly clearing it.

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