db: fix handling of conditional returns
commit96f1aaafba16c96c59c5b693267929918d9936f2
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 5 Oct 2017 07:26:03 +0000 (5 10:26 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 5 Oct 2017 07:26:03 +0000 (5 10:26 +0300)
treef5079673cf1788fb8aaf132fd9a6413abed35aef
parent625297d07ab12ac3be0c5fa72432cdab21c3e7b4
db: fix handling of conditional returns

I don't remember exactly how this bug manifested, but we should obviously
be passing the true return for the true path and the false return for the
false path.

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