This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed] Libiberty argv.c, remove unused variable declaration.
- From: Simon Baldwin <simonb at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 02 Jul 2007 10:31:16 -0700
- Subject: [Committed] Libiberty argv.c, remove unused variable declaration.
Committed as revision 126217, after review off-list by Ian Lance Taylor.
Small fix for a truly nitpicky warning seen when compiling libiberty
with icc.
gcc/libiberty/ChangeLog
2007-06-29 Simon Baldwin <simonb@google.com>
* argv.c (writeargv): Removed declaration of unused variable.
diff -Nrcp3 gcc_orig/libiberty/argv.c gcc/libiberty/argv.c
*** gcc_orig/libiberty/argv.c Mon Jun 18 15:36:33 2007
--- gcc/libiberty/argv.c Fri Jun 29 14:48:30 2007
*************** writeargv (char **argv, FILE *f)
*** 310,316 ****
while (*argv != NULL)
{
- int ret;
const char *arg = *argv;
while (*arg != EOS)
--- 310,315 ----