This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/7] gdb: Use NULL instead of 0 for pointer comparison.
- From: Pedro Alves <palves at redhat dot com>
- To: Andrew Burgess <andrew dot burgess at embecosm dot com>, gdb-patches at sourceware dot org
- Date: Thu, 26 Nov 2015 12:37:06 +0000
- Subject: Re: [PATCH 2/7] gdb: Use NULL instead of 0 for pointer comparison.
- Authentication-results: sourceware.org; auth=none
- References: <cover dot 1448411121 dot git dot andrew dot burgess at embecosm dot com> <ca67590dc936ca9fb3290a5352adbbd0b20004ff dot 1448411121 dot git dot andrew dot burgess at embecosm dot com>
On 11/25/2015 12:34 AM, Andrew Burgess wrote:
> Small code cleanup, use NULL instead of 0 when checking pointers. There
> should be no user visible changes after this commit.
>
> gdb/ChangeLog:
>
> * cli/cli-cmds.c (list_command): Use NULL instead of 0 when
> checking pointers.
OK. Please feel free to push fixes like these as obvious.
Thanks,
Pedro Alves