In any modern dialect of C, casting the NULL pointer literal to a
specific pointer type is unnecessary. For example:
char *foo;
foo = malloc(...);
if (foo == (char *) NULL) {...}
The cast on the 3rd line serves no useful purpose. Hence, this patch
removes all such instances of
On Mon, Jan 05, 2004 at 04:31:40PM -0500, Neil Conway wrote:
In any modern dialect of C, casting the NULL pointer literal to a
specific pointer type is unnecessary. For example:
char *foo;
foo = malloc(...);
if (foo == (char *) NULL) {...}
In src/backend/port/darwin/system.c