db: don't increment the func_id too much
commit337c4af253b3b3c3a4f6d48cf8b950a2f9bc81df
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2012 12:06:39 +0000 (20 15:06 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2012 12:06:39 +0000 (20 15:06 +0300)
treed6bba0ee053843ad15ced20d003a2c67087c5edb
parentc6b05d3f1d102bd596eccacf010983359c15a955
db: don't increment the func_id too much

The problem is that there are more scripts now that are printing function
caller info and so that parameter can go down but we're still looking at
the same function.

This still isn't totally right.  A function could be called twice on the
same line.  I suspect smatch_db will need to output more data so we can do
this correctly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_scripts/db/fill_db_caller_info.pl