extra: only get the types one time in match_assign
commitc43b2a8d7fec5434921f5930a6e58b4659e712f0
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Mar 2013 13:26:22 +0000 (6 16:26 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Mar 2013 13:26:22 +0000 (6 16:26 +0300)
treec6b4bce18296c14e1de02747023b761f27636a97
parent66e32c12db0e92a5f88e293e863e866e2ed60ff7
extra: only get the types one time in match_assign

I'm mainly doing this as a cleanup.  It is slightly different from the
original because it ignores casts and also "right" and "expr->right" are
slightly different.

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