unreachable code: don't warn about empty statements
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 19 Dec 2013 15:20:45 +0000 (18:20 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 19 Dec 2013 15:20:45 +0000 (18:20 +0300)
commitef15ecba0ed25ef32cdd31fe07ff564faba14a6f
treee5c9feaae8382237353fc3940933f5b44ccb3d29
parente5d79f58e3ad5801e41147fa6259521e681f0c2b
unreachable code: don't warn about empty statements

This is when people add extra semi-colons like:

return 0;;

Or:
switch (foo) {
...
};

These warnings were only enabled with --spammy but it's better to use
coccinelle for these.

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