bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] Unused variable in regex.c


From: Derek Price
Subject: [bug-gnulib] Unused variable in regex.c
Date: Fri, 13 May 2005 17:50:42 -0400
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

I've attached a minor patch that removes an unused variable in
lib/regex.c, thereby placating gcc -Wall.

2005-05-13  Derek R. Price  <address@hidden>

    * lib/regex.c: Remove unused variable.

Regards,

Derek
Index: lib/regex.c
===================================================================
RCS file: /cvs/ccvs/lib/regex.c,v
retrieving revision 1.18
diff -u -p -r1.18 regex.c
--- lib/regex.c 2 May 2005 07:24:29 -0000       1.18
+++ lib/regex.c 13 May 2005 21:38:00 -0000
@@ -1596,7 +1596,6 @@ typedef struct
 
 # define PUSH_FAILURE_POINT(pattern_place, string_place, failure_code) \
   do {                                                                 \
-    char *destination;                                                 \
     /* Must be int, so when we don't save any registers, the arithmetic        
\
        of 0 + -1 isn't done as unsigned.  */                           \
     /* Can't be int, since there is not a shred of a guarantee that int        
\

reply via email to

[Prev in Thread] Current Thread [Next in Thread]