math: fix new handle_conditional_rl() code
commita1c0d1b4f3e3ec52e6846cab81de73ce3da5ccfd
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 May 2013 07:53:37 +0000 (21 10:53 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 21 May 2013 07:53:37 +0000 (21 10:53 +0300)
tree65537c46ee6ba57f04c9b9f33a99f44590d0db09
parentac3aafd243cd03fde3835070a74ed4fdcda02a41
math: fix new handle_conditional_rl() code

In the old code, if it wasn't implied that the condition was true or false
then we abandoned ship and returned bogus.  My first naive attempt at
merging the true and false sides together didn't work.

But it should work now.  This is an example of how it is easier to work
with range lists than with min/max values.

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