From: Bruno Haible Date: Sat, 7 Oct 2006 17:36:15 +0000 (+0000) Subject: Use IF_LINT. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75142e151b52931326ffa8a20de57d739c88c071;p=thirdparty%2Fgnulib.git Use IF_LINT. --- diff --git a/lib/fstrcmp.c b/lib/fstrcmp.c index d0d5ce245f..dccc1f7b1c 100644 --- a/lib/fstrcmp.c +++ b/lib/fstrcmp.c @@ -80,6 +80,15 @@ #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. */