Remove a state from it's ->pools when set_state() is called.
commit0c0395ef24091518c34fc04738cedae647e0aaa9
authorDan Carpenter <error27@gmail.com>
Wed, 11 Feb 2009 12:55:51 +0000 (11 15:55 +0300)
committerDan Carpenter <error27@gmail.com>
Wed, 11 Feb 2009 12:55:51 +0000 (11 15:55 +0300)
treea50f2075d668cf5afd55a50ac2ad8bb188431027
parentd9b4ba5f9c1d1660b856acb771ca6ddd35e28764
Remove a state from it's ->pools when set_state() is called.

There are old implied pools out there.  When we set the state all the
things that were implied previously are not implied now.

if (foo) {
    bar = 1;
}
bar = 0;

non null foo doesn't implied bar == 1 anymore.

Signed-off-by: Dan Carpenter <error27@gmail.com>
smatch_slist.c
smatch_slist.h
smatch_states.c