]> Savannah Git Hosting - gnulib.git/commitdiff
Remove an IF_LINT that is probably not necessary any more.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2006 17:35:49 +0000 (17:35 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2006 17:35:49 +0000 (17:35 +0000)
lib/diffseq.h

index 6ee530af8933f6af8a0b2db2938f1e670b32e432..e9e4ad5a79c728320a46986f87319213d5fd9898 100644 (file)
 #define OFFSET_MAX \
   ((((OFFSET)1 << (sizeof (OFFSET_MAX) * CHAR_BIT - 2)) - 1) * 2 + 1)
 
+/* Use this to suppress gcc's `...may be used before initialized' warnings. */
+#ifndef IF_LINT
+# ifdef lint
+#  define IF_LINT(Code) Code
+# else
+#  define IF_LINT(Code) /* empty */
+# endif
+#endif
+
 /*
  * Context of comparison operation.
  */
@@ -437,7 +446,7 @@ compareseq (OFFSET xoff, OFFSET xlim, OFFSET yoff, OFFSET ylim,
       files[0].changed[files[0].realindexes[xoff++]] = 1;
   else
     {
-      struct partition part IF_LINT (= {0});
+      struct partition part;
 
       /* Find a point of correspondence in the middle of the vectors.  */
       diag (xoff, xlim, yoff, ylim, find_minimal, &part, ctxt);