db: fix nested call handling
commit8e659071efc1bd7ed51bf2529eaba819a364de2b
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 27 Feb 2014 09:30:18 +0000 (27 12:30 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 27 Feb 2014 09:30:18 +0000 (27 12:30 +0300)
treecd33d3416b500205c48119a46b82518feec2fc40
parent81b26aba964ea95a2d1cd08ff656558314225e51
db: fix nested call handling

If you have function call like this:

frob(some_other_func(1, 2, 3), a, b, c);

Then we were using the same variable to store both frob() and
some_other_func() and it caused a bug.

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