ranges: an empty range is not a whole range
commitb611e64319407e530fc4aa4155d54133da73b793
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 17 Apr 2013 08:34:56 +0000 (17 11:34 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 17 Apr 2013 08:34:56 +0000 (17 11:34 +0300)
treeff89228735df0df3f8c3d34f7ca2205f34933941
parentd635759cb2e2f5c1851aa9012f91f5a0425d0319
ranges: an empty range is not a whole range

In the original code the reason I treated an empty range like a whole range
was because I thought it was an impossible condition so it meant the value
could be anything.

But it turns out there are valid reasons to have an empty range.  For
example, in param_filter an empty range means none of the original values
are preserved.

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