Remove switch cloning complexity.
commit9e09a10348d25be1e23e0a4a20d01565d0649cdb
authorDan Carpenter <error27@gmail.com>
Fri, 22 May 2009 17:45:23 +0000 (22 20:45 +0300)
committerDan Carpenter <error27@gmail.com>
Fri, 22 May 2009 17:45:23 +0000 (22 20:45 +0300)
tree8576557e1a2dc8b1523861d38f5873045d8a4c31
parentd0edff252671f23b0977bb70b90d37188d3b663c
Remove switch cloning complexity.

Now that we have clone_pool_havers() we don't need to clone all the
states for a switch statement or a goto.  It gets cloned in the right
place automatically.  This extra complexity can be removed.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Revert "Only clone the states if it is a switch statement."

This reverts commit 97efdbdd2e34fbec36353a3379f48b10788f706d.
smatch.h
smatch_flow.c
smatch_states.c