Fix a big bug. get_state_slist() was always getting the state from
commit2fc678aec9a90ea9029abfaad98ab42f06e2956e
authorDan Carpenter <dcarpenter@usbsys.site>
Mon, 1 Sep 2008 19:01:55 +0000 (1 22:01 +0300)
committerDan Carpenter <dcarpenter@usbsys.site>
Mon, 1 Sep 2008 19:01:55 +0000 (1 22:01 +0300)
tree7f5bc506efdcdbfef3509828757fe24995eb7328
parent9f88934271af7454928ea1440bb605cf0b557aad
Fix a big bug.  get_state_slist() was always getting the state from
cur_slist instead of the slist you passed as a parameter.

Fix a smaller bug.  Set the cur_slist correctly when __negate_cond_stacks()
is called.

Also move some code around.

Signed-off-by: Dan Carpenter <dcarpenter@usbsys.site>
smatch_slist.c
smatch_slist.h
smatch_states.c