unreachable: silence "not actually initialized" false positives
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 22 May 2014 09:35:04 +0000 (12:35 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 22 May 2014 09:35:04 +0000 (12:35 +0300)
commite3cceb77b347ff0f2ed54bd91c9c6fe387d4130c
treefd08e84e998100bd1ba132d37d3a43866c0659e7
parentaaa751ff52fe4944033182ad2876effd7c674937
unreachable: silence "not actually initialized" false positives

Sometimes temporary variables are declared inside macros like
list_for_each() but we don't reach those variables.  The fix for this is
to push the is_ignored_macro() test earlier into this function.

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