changeset 15378:aea6bae90698

test-getopt.h: avoid warning about an unused variable * tests/test-getopt.h (test_getopt): Remove unused variable, "c".
author Jim Meyering <meyering@redhat.com>
date Fri, 08 Jul 2011 23:17:36 +0200
parents a8a19e40f9e2
children ca34a467b2b5
files ChangeLog tests/test-getopt.h
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/tests/test-getopt.h
+++ b/tests/test-getopt.h
@@ -1375,7 +1375,6 @@
     {
       int argc = 0;
       const char *argv[10];
-      int c;
       int pos = ftell (stderr);
 
       argv[argc++] = "program";