From 205582b59e5222cb0e779a30c5af47888fa26c91 Mon Sep 17 00:00:00 2001 From: Lucas De Marchi Date: Thu, 26 Aug 2010 01:34:13 +0000 Subject: [PATCH] Revert and re-apply badnull patch Revert previous patch generated by badnull.cocci script, and apply the new one. The main difference is that assert and assert-like functions are not touched anymore. SVN revision: 51650 --- epplets/E-Areas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epplets/E-Areas.c b/epplets/E-Areas.c index 0c3ffb6..50b4a24 100644 --- a/epplets/E-Areas.c +++ b/epplets/E-Areas.c @@ -85,7 +85,7 @@ Epplet_gadget epp_create_std_button(int x, int y, char *std, void (*func) (void *data), void *data) { - assert(!!func); + assert(func != NULL); return Epplet_create_button(NULL, NULL, x, y, 0, 0, std, 0, NULL, func, data); }