extra: check the original state first for fake parameter assignments
commit99dfcf5cbce28ebe3f63effefac1743cea73d796
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Nov 2020 18:58:05 +0000 (17 21:58 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 17 Nov 2020 18:58:05 +0000 (17 21:58 +0300)
tree2313813f2688b7ffed928355b38c2b68c37ac42c
parent06303e06ce1286bc356fcbe770a1cf3d0cc8d9f5
extra: check the original state first for fake parameter assignments

This was using get_value() which results in a DB look up.  Try looking
for an extra state first before looking in the DB.  This let's you
preserve the estate with the related list.

To be honest, I'm not exactly sure the point of this code...

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