unreachable: don't complain about static declarations
commitf52d86a8af2bf29c3f17ee5e9fb3a271ac81d077
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 May 2017 13:42:56 +0000 (10 16:42 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 May 2017 13:42:56 +0000 (10 16:42 +0300)
tree767f119c0400db1225dfc8a5d2c6240623b6dfec
parent2ed8feb088e145f3de532d799df33abf514a03e9
unreachable: don't complain about static declarations

This is code like:

switch (foo) {
static int x = 1;
case 1:
...

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