# HG changeset patch # User Bruno Haible # Date 1160242549 0 # Node ID 5b42c8de7c5fb2bfac1ce2f4bb136e77f14300b5 # Parent 1191ef4e9ea4f65a688d98cbecee4fb65cacbe2f Remove an IF_LINT that is probably not necessary any more. diff --git a/lib/diffseq.h b/lib/diffseq.h --- 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 @@ 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);