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:
parent
1385eb1e49
commit
37ae27ae4e
1 changed files with 10 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue