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:
parent
0ffc9ec788
commit
4fb11404b9
1 changed files with 3 additions and 1 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue