sval: fix a bug in handling for loops that count downwards
commit9236ba9ab11124f44213c9ec92e9e7d1f73087e2
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 7 Nov 2012 12:51:22 +0000 (7 15:51 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 7 Nov 2012 12:51:22 +0000 (7 15:51 +0300)
tree6673fd7ae66f047b8ff4ca2c1f433dd21ce6182b
parentf16c836489165db99dae95a4c24d2acb93c68836
sval: fix a bug in handling for loops that count downwards

It should be counting down to min, but there was a bug so max was used
instead.  Also I've removed a whole_range reference.

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