From eeb9049f7757373d77ffae20c14ab7bca8d20a42 Mon Sep 17 00:00:00 2001 From: Zach Saw Date: Fri, 16 Nov 2012 21:44:01 +1100 Subject: [PATCH] Changed pointer comparison to NULL from p == NULL to !p. * finalize.c (DELETE_DL_HASHTBL_ENTRY) : As above. --- finalize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finalize.c b/finalize.c index 94dd22ca..aedad09f 100644 --- a/finalize.c +++ b/finalize.c @@ -611,7 +611,7 @@ GC_API void GC_CALL GC_register_finalizer_unreachable(void * obj, #define DELETE_DL_HASHTBL_ENTRY(dl_hashtbl, curr_dl, prev_dl, next_dl) \ next_dl = dl_next(curr_dl); \ - if (prev_dl == NULL) { \ + if (!prev_dl) { \ dl_hashtbl -> head[i] = next_dl; \ } else { \ dl_set_next(prev_dl, next_dl); \ -- 2.40.0