1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-21 05:21:37 -07:00

Can't can't checkd_nosig(ring, &arenaring) because &arenaring is never null and gcc will warn about a constant comparison.

Copied from Perforce
 Change: 185279
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Gareth Rees 2014-04-07 13:22:21 +01:00
parent 0ffc9ec788
commit 4fb11404b9

View file

@ -213,7 +213,9 @@ Bool GlobalsCheck(Globals arenaGlobals)
/* we also check the statics now. <design/arena/#static.check> */
CHECKL(BoolCheck(arenaRingInit));
CHECKD_NOSIG(Ring, &arenaRing);
/* Can't CHECKD_NOSIG here because &arenaRing is never NULL and GCC
* will warn about a constant comparison. */
CHECKL(RingCheck(&arenaRing));
CHECKL(BoolCheck(arena->emergency));