test-getopt.h: avoid warning about an unused variable
authorJim Meyering <meyering@redhat.com>
Fri, 8 Jul 2011 21:17:36 +0000 (23:17 +0200)
committerJim Meyering <meyering@redhat.com>
Fri, 8 Jul 2011 21:18:27 +0000 (23:18 +0200)
* tests/test-getopt.h (test_getopt): Remove unused variable, "c".

ChangeLog
tests/test-getopt.h

index 70c46a4d3d8066813b8356bd16cfd636691ae9fe..e3ea55f9fb1938792f4e7689bc6072514a04349e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-08  Jim Meyering  <meyering@redhat.com>
+
+       test-getopt.h: avoid warning about an unused variable
+       * tests/test-getopt.h (test_getopt): Remove unused variable, "c".
+
 2011-07-07  Jim Meyering  <meyering@redhat.com>
 
        maint: reduce list of files exempt from sc_prohibit_leading_TABs
index e3fc589f5379890b4a0410aa4968a9cfded9dadb..f7b39113095ed18ace52550e3848752fcfb2f77a 100644 (file)
@@ -1375,7 +1375,6 @@ test_getopt (void)
     {
       int argc = 0;
       const char *argv[10];
-      int c;
       int pos = ftell (stderr);
 
       argv[argc++] = "program";