]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Use IF_LINT.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2006 17:36:15 +0000 (17:36 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2006 17:36:15 +0000 (17:36 +0000)
lib/fstrcmp.c

index d0d5ce245f1f1ab60544495f2d4d06299dd409d5..dccc1f7b1c90b12c283c8fc6838303282c3d3885 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.
  */