From: Jim Meyering Date: Sun, 22 Aug 1999 09:43:48 +0000 (+0000) Subject: (IF_LINT): Define new macro. X-Git-Tag: FILEUTILS-4_0j-trial~317 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ec1017a2398686a2ec3034c81cad1521c825d0f;p=thirdparty%2Fcoreutils.git (IF_LINT): Define new macro. --- diff --git a/src/sys2.h b/src/sys2.h index 53ef13f57c..ecb348105d 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -350,3 +350,10 @@ char *base_name PARAMS ((char const *)); #ifndef PID_T_MAX # define PID_T_MAX TYPE_MAXIMUM (pid_t) #endif + +/* 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