info: loop could be replaced with if statement.
commit860e1068328490a518e054e59c84e0dfc034ff8e
authorDan Carpenter <error27@gmail.com>
Mon, 16 Mar 2009 19:41:16 +0000 (16 22:41 +0300)
committerDan Carpenter <error27@gmail.com>
Mon, 16 Mar 2009 19:41:16 +0000 (16 22:41 +0300)
treeaf8722dd372d420066e1c4818525f32cca6a23a6
parentb76741f8ae9b901d1659749b78838dd3249627a6
info: loop could be replaced with if statement.

Sometimes people put the return statement inside a loop by mistake.  This
check has some false positives caused by gotos.  But I don't see a way to
fix them which doesn't slow things down so I'm going to leave them for now.

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