This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [OB] cli/cli-script.c, null ptr guard
- From: Daniel Jacobowitz <drow at false dot org>
- To: msnyder at sonic dot net
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 28 Jun 2007 17:58:29 -0400
- Subject: Re: [OB] cli/cli-script.c, null ptr guard
- References: <13902.12.7.175.2.1183067383.squirrel@webmail.sonic.net>
No, I don't think this is obvious. What does it mean to have a null
string here and how can it happen? I'm pretty sure it can't, and the
if check is just clutter.
--
Daniel Jacobowitz
CodeSourcery