helper: in strip_expr() "*&foo" is basically the same as "foo"
commit0822d66b6fb54f40fb7478ee15b01816498a2d3a
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 8 Dec 2014 10:02:50 +0000 (8 13:02 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 8 Dec 2014 10:02:50 +0000 (8 13:02 +0300)
tree2e3f12c6b5b2281f5011494c5331521971ecf4e3
parent0300dd30aa42f496180785197e20e984d9dec327
helper: in strip_expr() "*&foo" is basically the same as "foo"

Unless "foo" is an array then "*&foo = 1;" is the same as "foo = 1;".  This
matters because macros do all kinds of complicated stuff like that.

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