From 5056c7983c7e1d54b42619d9d45e6e22e20cccc2 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Thu, 14 Feb 2013 15:14:31 +0300 Subject: [PATCH] helper: handle assignments in expr_to_str() Signed-off-by: Dan Carpenter --- smatch_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/smatch_helper.c b/smatch_helper.c index de3057b1..bcd8264d 100644 --- a/smatch_helper.c +++ b/smatch_helper.c @@ -156,6 +156,7 @@ static void __get_variable_from_expr(struct symbol **sym_ptr, char *buf, *complicated = 1; return; } + case EXPR_ASSIGNMENT: case EXPR_COMPARE: case EXPR_LOGICAL: case EXPR_BINOP: { -- 2.11.4.GIT