db: cleanup get_row_count()
commit420a6cf0c4e8a27ff1e60b740e659548f24c9a13
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Jan 2017 11:48:09 +0000 (13 14:48 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 13 Jan 2017 11:48:09 +0000 (13 14:48 +0300)
tree477ce82cf3a18aba8892b9b3e5426c3da29e0fb8
parentc706ea82cfe37f177d42b2de2fc27b30d60ef4c0
db: cleanup get_row_count()

It's messy to use a global variable.  The caller shouldn't pass the info
pointer either.

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