In libiberty/argv.c line 313, function writeargv(), the line "int ret" declares
a variable that is never used in that function. This triggers a warning during
compilation. The following patch should remove that line:
Index: libiberty/argv.c
===================================================================
--- libiberty/argv.c (revision 126005)
+++ libiberty/argv.c (working copy)
@@ -310,7 +310,6 @@ writeargv (char **argv, FILE *f)
while (*argv != NULL)
{
- int ret;
const char *arg = *argv;
while (*arg != EOS)
--
Summary: Warning: variable ret never used
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nightstrike at gmail dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-pc-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32532