This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Refactor observer.sh to cleanup unused vars (was: [RFC/PATCH] Clean up unused variables (and prepare for `-Wunused-variable' flag))
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 14 May 2012 13:36:49 +0200
- Subject: Re: [PATCH] Refactor observer.sh to cleanup unused vars (was: [RFC/PATCH] Clean up unused variables (and prepare for `-Wunused-variable' flag))
- References: <m3ty0at632.fsf@redhat.com> <m31undrp8d.fsf@redhat.com>
On Tue, 24 Apr 2012 19:53:06 +0200, Sergio Durigan Junior wrote:
> --- a/gdb/observer.sh
> +++ b/gdb/observer.sh
> + if test ! -z ${notify_args}; then
'test ! -z' is the same as 'test -n'.
Sure no need for a commit.
Jan