1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-05 19:31:02 -08:00

Supressing "may be used uninitialized" warnings from gcc.

Copied from Perforce
 Change: 191489
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Brooksby 2016-04-21 15:34:20 +01:00
parent 2f4348a253
commit b06ee89936

View file

@ -290,7 +290,7 @@ static void loSegReclaim(LOSeg loseg, Trace trace)
Seg seg = MustBeA(Seg, loseg);
Pool pool = SegPool(seg);
LO lo = MustBeA(LOPool, pool);
Format format;
Format format = NULL; /* supress "may be used uninitialized" warning */
Count preservedInPlaceCount = (Count)0;
Size preservedInPlaceSize = (Size)0;
Bool b;
@ -382,7 +382,7 @@ static void LOWalk(Pool pool, Seg seg, FormattedObjectsVisitor f,
LO lo = MustBeA(LOPool, pool);
LOSeg loseg = MustBeA(LOSeg, seg);
Index i, grains;
Format format;
Format format = NULL; /* suppress "may be used uninitialized" warning */
Bool b;
AVERT(Pool, pool);