1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-26 16:51:46 -07:00

Suppress warning about pageretstruct_zero being unused.

Copied from Perforce
 Change: 179568
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Brooksby 2012-09-19 21:12:30 +01:00
parent 1385eb1e49
commit 37ae27ae4e

View file

@ -943,6 +943,16 @@ static Res amcInitComm(Pool pool, RankSet rankSet, va_list arg)
Index i;
size_t genArraySize;
size_t genCount;
/* Suppress a warning about this structure not being used when there
are no statistics. Note that simply making the declaration conditional
does not work, because we carefully reference expressions inside
STATISTICS to prevent such warnings on parameters and local variables.
It's just that clang 4.0 on Mac OS X does some sort of extra check
that produces a special warnings about static variables. */
#if !defined(STATISTICS)
UNUSED(pageretstruct_Zero);
#endif
AVER(pool != NULL);