clean up. DEREF_HOOK handling.
commit1c847790f8572bbf8952488eb078c5ffccb49bb8
authorDan Carpenter <error27@gmail.com>
Sat, 12 Dec 2009 09:39:31 +0000 (12 11:39 +0200)
committerDan Carpenter <error27@gmail.com>
Sat, 12 Dec 2009 09:39:31 +0000 (12 11:39 +0200)
tree8576dc1c95b3b32039c86530ed5ad9545bea982b
parent41fbc780c51ad25723c23e133dfa9acec969215a
clean up.  DEREF_HOOK handling.

The old code was handling most dereferences twice.  The first time as
expr->deref->unop and the second time as expr->unop.

I maybe should get rid of the other DEREF_HOOK thing in smatch_flow.c or
at least rename it.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_deref_check.c
check_err_ptr_deref.c
check_memory.c
check_null_deref.c