math: teach smatch to understand const values
commitf44c45c1671d9ee06e71138c506b9d0be4d8dc26
authorDan Carpenter <error27@gmail.com>
Thu, 1 Apr 2010 13:40:32 +0000 (1 16:40 +0300)
committerDan Carpenter <error27@gmail.com>
Thu, 1 Apr 2010 13:40:32 +0000 (1 16:40 +0300)
tree4a81189db597f6d55a6043a82a9d05b980ed0805
parent01b3cab3e25d7fe8bd7349ebe2bcbe7ed4c734f8
math: teach smatch to understand const values

Before get_value() would return false for these, unless they were declared
inside the current function.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_math.c