silence bogus "unreachable code" warnings1.571.58
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Feb 2013 22:43:05 +0000 (01:43 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 8 Feb 2013 22:43:05 +0000 (01:43 +0300)
commite39ef3260db4dcb75b5d57c97186ff1e8c01269d
treeaa526593dfc1dd6996f2514f51c8a985d3d5d982
parentde0271334086bb59c8799369a95d0d37a5d871a1
silence bogus "unreachable code" warnings

No return functions were triggering "unreachable code" warnings even
though there was no code after the function call.

I wasn't seeing these because I use always the --spammy option and the
unreachable code warning for --spammy is in a different spot.

Reported-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_function_hooks.c