db: fix a bug storing range lists
commitf312e0250c680308a9488e5075c6a7fe95506d59
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 15:14:06 +0000 (12 18:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 12 Jun 2013 15:14:06 +0000 (12 18:14 +0300)
tree441f8bca3e207a0aabb0bc9540abf09083ce4e52
parent0c60c25cfa8b22b31f1c94499d5455459537f480
db: fix a bug storing range lists

This should be testing if the whole range is used, instead of just the
max.  Otherwise we are potentially throwing away useful information.

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