]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(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 1c8683784fe4c2e10f6b225512a94db11ea617ff..6105f4855166c7097c4d4294286bd06c272f667b 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 3191f6e9398a64c7820a531d22d6f25fd04d2c1e..83a85c4e905ae86f31e4af35a0ce12b2d92ff95b 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;