sval: math: putting bogus type information on failure
commitecf76bd514e4ffd92cf50763dc75dd4a6cab9708
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Nov 2012 15:32:46 +0000 (8 18:32 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 8 Nov 2012 15:32:46 +0000 (8 18:32 +0300)
tree92c2e3c996b8b5e97f61383d932c5df04d14a73e
parenta2e641c62361148532d59f5a4559b393996eb833
sval: math: putting bogus type information on failure

Sometimes we pass an sval to these functions with the type information
already set.  They way the functions are currently written they set the
sval to "bogus" on failure which corrupts the type information.  Don't do
that.

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