function_hooks: reset states to original state between true and false
commit32621f30f56aec744df1b2b4dae9758695ff3b81
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 9 Feb 2016 08:31:54 +0000 (9 11:31 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 9 Feb 2016 08:31:54 +0000 (9 11:31 +0300)
tree2ccff6a4310b8f19f26a35aa987f3da2a63f9ef4
parent1f2ed93b292faa4272963209f750379044b42a40
function_hooks: reset states to original state between true and false

When we're figuring out the true and false paths of a condition then
setting the true states affected the "original" state that the false
conditions saw.

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