Mercurial > hg > octave-nkf > gnulib-hg
changeset 7441:fe60a8754d22
Use IF_LINT.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 07 Oct 2006 17:36:15 +0000 |
parents | 5b42c8de7c5f |
children | 6a5caacdedca |
files | lib/fstrcmp.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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. */