From: Bruno Haible Date: Sat, 7 Oct 2006 17:35:49 +0000 (+0000) Subject: Remove an IF_LINT that is probably not necessary any more. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=dd421e09a6bae1fefe60694e0f6159d15a3fbf04;p=gnulib.git Remove an IF_LINT that is probably not necessary any more. --- diff --git a/lib/diffseq.h b/lib/diffseq.h index 6ee530af89..e9e4ad5a79 100644 --- a/lib/diffseq.h +++ b/lib/diffseq.h @@ -52,6 +52,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. */ @@ -437,7 +446,7 @@ compareseq (OFFSET xoff, OFFSET xlim, OFFSET yoff, OFFSET ylim, files[0].changed[files[0].realindexes[xoff++]] = 1; else { - struct partition part IF_LINT (= {0}); + struct partition part; /* Find a point of correspondence in the middle of the vectors. */ diag (xoff, xlim, yoff, ylim, find_minimal, &part, ctxt);