From: Paul Eggert Date: Tue, 5 Nov 2002 23:42:51 +0000 (+0000) Subject: (IF_LINT): New macro, taken from coreutils. X-Git-Tag: BISON-1_875~343 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/48e28efa9e3cb3a5f58575937ac6461b54fdfcde?ds=inline (IF_LINT): New macro, taken from coreutils. --- diff --git a/src/system.h b/src/system.h index 9aa6ea83..e297f608 100644 --- a/src/system.h +++ b/src/system.h @@ -129,6 +129,14 @@ void *memrchr (const void *s, int c, size_t n); | GCC extensions. | `-----------------*/ +/* Use this to suppress gcc's `...may be used before initialized' + warnings. */ +#ifdef lint +# define IF_LINT(Code) Code +#else +# define IF_LINT(Code) /* empty */ +#endif + #ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ # if !defined (__GNUC__) || __GNUC__ < 2 || \