Mercurial > hg > octave-lyh > gnulib-hg
changeset 7440:5b42c8de7c5f
Remove an IF_LINT that is probably not necessary any more.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 07 Oct 2006 17:35:49 +0000 |
parents | 1191ef4e9ea4 |
children | fe60a8754d22 |
files | lib/diffseq.h |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);