db: use stripped expressions in get_variable_from_key()
commitb3012503512ee198d4a5235674c6e964e6a0ad54
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Dec 2014 12:20:31 +0000 (4 15:20 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Dec 2014 12:20:31 +0000 (4 15:20 +0300)
tree04ab4f4f8e1b99d9dbfbb56ac62ddac7469a431e
parent3ef4e285ae20537afcdc26a14878df00a7b0d89f
db: use stripped expressions in get_variable_from_key()

The problem was if you had something like:

frob((void *)&p);

and the key was "*$" then it wasn't setting "p" because of the cast.

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