[doc patchv2] coding style: 0 vs. NULL + [patch] Code cleanup: skip.c
Eli Zaretskii
eliz@gnu.org
Tue Dec 11 20:39:00 GMT 2012
> Date: Tue, 11 Dec 2012 21:22:28 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: Pedro Alves <palves@redhat.com>, gdb-patches@sourceware.org, Matt Rice <ratmice@gmail.com>
>
> On Tue, 11 Dec 2012 13:00:57 +0100, Joel Brobecker wrote:
> > Same here. I tend to prefer explicit checks.
>
> OK, updated.
>
>
> Thanks,
> Jan
>
>
> gdb/doc/
> 2012-12-11 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdbint.texinfo (Coding Standards) (C Usage): New rule for 0 vs. NULL.
Okayed -- under protest, because I happen to think that
if (!pointer)
is perfectly valid C.
Thanks.
More information about the Gdb-patches
mailing list