From 1128d90cc9ec4e27c6899489214a77f8c8196a95 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Mon, 17 Jun 2013 11:49:13 +0300 Subject: [PATCH] comparison: use comparison from database instead of always SPECIAL_LTE Oops... This was a holdover from the old code. Signed-off-by: Dan Carpenter --- smatch_comparison.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smatch_comparison.c b/smatch_comparison.c index 40ab4b4c..74b12b17 100644 --- a/smatch_comparison.c +++ b/smatch_comparison.c @@ -743,7 +743,7 @@ void __add_comparison_info(struct expression *expr, struct expression *call, con if (!str_to_comparison_arg(c, call, &comparison, &arg)) return; - add_comparison(expr, SPECIAL_LTE, arg); + add_comparison(expr, comparison, arg); } static char *range_comparison_to_param_helper(struct expression *expr, char starts_with) -- 2.11.4.GIT