sval: fix a bug in remove_range_sval()
commit80cfd76f56336a40a61331865e581fcb02745bdc
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 5 Nov 2012 08:43:51 +0000 (5 11:43 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 5 Nov 2012 08:43:51 +0000 (5 11:43 +0300)
treed16f69a1e2fca5e37a63d819fda1db332c0367c3
parent453dfc0449c31387c5a2f32b02ab25e22c27d78a
sval: fix a bug in remove_range_sval()

This comparison was wrong.  The test is checking wether it should remove
the whole range.  So if (tmp->min)-(tmp->max) is entirely within min-max,
then we should continue.

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