parse_call_math: silence "internal bug: pop_val popping empty list"
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Feb 2013 15:14:20 +0000 (18:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Feb 2013 15:14:20 +0000 (18:14 +0300)
commit6c671f17f00844147419252846c7014ae051ff57
tree8b6f5c66e092ea31ca6697a867e6c896f492e68e
parent93985fe8c94ab034a84ca2d0a9e63ba4c9cc39c5
parse_call_math: silence "internal bug:  pop_val popping empty list"

There is a bogus warning message printed when the parameter passed is not
a known fixed number.  I've created a version of pop_until() to clear the
stacks without printing a warning message.

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