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
This commit is contained in:
Lucas De Marchi 2010-08-26 01:34:13 +00:00
parent fd4740a25d
commit 205582b59e
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}