extra: don't save unneeded states
commitf06d7deb52133c96d6744adb73722c636641a8fe
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Aug 2017 20:53:05 +0000 (10 23:53 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Aug 2017 20:53:05 +0000 (10 23:53 +0300)
tree3c1b844917a5c6d60d32babad9e9fe28c01732fd
parent845733e1c8afc0887210b98d6036a98f0f83e1f3
extra: don't save unneeded states

If there is no existing state and the new state is unknown then don't
bother saving it.

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