deref: for NULL deref warnings initialization to NULL
commitb4b18be1d9c322e95fe3f8931f958460c15888ab
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Feb 2014 09:52:03 +0000 (11 12:52 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Feb 2014 09:52:03 +0000 (11 12:52 +0300)
tree1b32289c7d17b3c4afc042abd6e83c46feed0e39
parent36478b1c5fb0cff1f636f8c5b1420ed8477ef5b3
deref: for NULL deref warnings initialization to NULL

This whole test is old and needs to be re-written...

Anyway, when people want to silence a GCC uninitialized variable warning
then they initialize it to NULL.  This causes a smatch warning about NULL
dereferences.  So let's just ignore initializations to NULL.

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