db: handle nested calls better
commit05e882449aae3db74662e778044d5354922d8423
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Jul 2016 11:13:52 +0000 (8 14:13 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Jul 2016 11:13:52 +0000 (8 14:13 +0300)
treee47986d213e335b1ef10a5b1a35f66decc5ae466
parentf5c7a8c65da9f18de431115ef585003907a773d7
db: handle nested calls better

I don't actually have a bug to go with this, but using a global is messy
and means these things can't nest properly.  It's actually probably not
an issue because we probably don't do nested calls here?

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