aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2007-07-12 03:10:12 +0000
committerDJ Delorie <dj@redhat.com>2007-07-12 03:10:12 +0000
commitdb42c6e8ee92965ca26f4ccf2183d26a8c560931 (patch)
tree2c1a8badded9b15ff1cdf44261039d825fe56781
parenta590e8e71dc8bfbf1dd27fff13d3440c3bf4b27f (diff)
downloadgdb-db42c6e8ee92965ca26f4ccf2183d26a8c560931.zip
gdb-db42c6e8ee92965ca26f4ccf2183d26a8c560931.tar.gz
gdb-db42c6e8ee92965ca26f4ccf2183d26a8c560931.tar.bz2
merge from gcc
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/argv.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index ad6cd02..fffd19a 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -4,6 +4,10 @@
* Makefile.in: Rebuild deps.
(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
+2007-07-02 Simon Baldwin <simonb@google.com>
+
+ * argv.c (writeargv): Removed declaration of unused variable.
+
2007-06-14 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
diff --git a/libiberty/argv.c b/libiberty/argv.c
index a04f50d..faeb72d 100644
--- a/libiberty/argv.c
+++ b/libiberty/argv.c
@@ -310,7 +310,6 @@ writeargv (char **argv, FILE *f)
while (*argv != NULL)
{
- int ret;
const char *arg = *argv;
while (*arg != EOS)