db: handle -1 arguments correctly
commit57ab5cd4437d4650a1a23789c57c1ff7034d7bdd
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 6 Feb 2012 14:36:14 +0000 (6 17:36 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 6 Feb 2012 14:36:14 +0000 (6 17:36 +0300)
treeaf7e99e3ea84c79a1cfdd95a8c92d1b076fa6839
parentcd2deef303ceb749adbe73572580bf74618e3f44
db: handle -1 arguments correctly

Grrr... This is the third time I found that -1 arguments are just being
ignored.  They are supposed to mean that we don't know anything about
the arguments and for a merge with undefined.  But instead what happens
is that you get a NULL slist which when merged with a the defined paths
is dropped.  Just use __unnullify_path() so we have something on the slist
and it forces a merge.

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