From 5e5ea9f6e4258790e4433c97c62ba4f5562a83ff Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 6 Jan 2003 13:03:40 +0000 Subject: [PATCH] Cleanups. committer: mfx 1041858220 +0000 --- src/mygetopt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mygetopt.cpp b/src/mygetopt.cpp index a685f6d8..052f608c 100644 --- a/src/mygetopt.cpp +++ b/src/mygetopt.cpp @@ -167,7 +167,7 @@ static int last_nonopt; static void exchange (char **argv) { - char *temp, **first, **last; + char *temp; char **first, **last; /* Reverse all the elements [first_nonopt, optind) */ first = &argv[first_nonopt]; @@ -523,7 +523,7 @@ static int _getopt_internal (int argc, char **argv, const char *optstring, optind++; return BAD_OPTION; } - ambig = ambig; + (void) &ambig; /* UNUSED */ } /* Look at and handle the next option-character. */