db: fix passing caller info for frob(&foo);
commit5f090b33797c66d020534b715061635c9ece2587
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 Feb 2019 12:49:40 +0000 (26 15:49 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 26 Feb 2019 12:49:40 +0000 (26 15:49 +0300)
tree261551f3b9a90ac06ff739d1974c5714fd09c195
parentcfd710b3d67a6c1998a702033bed2a92a5aa40ef
db: fix passing caller info for frob(&foo);

This fixes an inline validation test.  The code here is meant to test that
"&foo" is a pointer but it's instead testing if "foo" is a pointer.

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