(docolon): Add IF_LINT check to avoid GCC warning.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Sep 2005 22:30:56 +0000 (22:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 13 Sep 2005 22:30:56 +0000 (22:30 +0000)
ChangeLog
src/expr.c

index 1c86837..6105f48 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
 
        * Version 5.3.1-cvs.
 
+       * src/expr.c (docolon): Add IF_LINT check to avoid GCC warning.
+
        * configure.ac: Don't invoke AC_CONFIGURE_HOST directly; AB_INIT
        does it for us, and our invocation evokes a diagnostic from
        Autoconf 2.59.
index 3191f6e..83a85c4 100644 (file)
@@ -409,7 +409,7 @@ trace (fxn)
 static VALUE *
 docolon (VALUE *sv, VALUE *pv)
 {
-  VALUE *v;
+  VALUE *v IF_LINT (= NULL);
   const char *errmsg;
   struct re_pattern_buffer re_buffer;
   struct re_registers re_regs;