mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-25 00:07:09 -07:00
Checking and suppressing warnings caused by higher level of optimisation and building from mps.c on ubuntu 12.
Copied from Perforce Change: 179194 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
52dab6de7e
commit
6436ca441d
4 changed files with 4 additions and 4 deletions
|
|
@ -406,7 +406,7 @@ static Res ClientAlloc(Addr *baseReturn, Tract *baseTractReturn,
|
|||
static void ClientFree(Addr base, Size size, Pool pool)
|
||||
{
|
||||
Arena arena;
|
||||
Chunk chunk;
|
||||
Chunk chunk = NULL; /* suppress "may be used uninitialized" */
|
||||
Size pages;
|
||||
ClientArena clientArena;
|
||||
Index pi, baseIndex, limitIndex;
|
||||
|
|
|
|||
|
|
@ -1584,7 +1584,7 @@ static void VMFree(Addr base, Size size, Pool pool)
|
|||
Arena arena;
|
||||
VMArena vmArena;
|
||||
VMChunk vmChunk;
|
||||
Chunk chunk;
|
||||
Chunk chunk = NULL; /* suppress "may be used uninitialized" */
|
||||
Count pages;
|
||||
Index pi, piBase, piLimit;
|
||||
Index pageTableBase;
|
||||
|
|
|
|||
|
|
@ -1561,7 +1561,7 @@ Bool CBSFindLargest(Addr *baseReturn, Addr *limitReturn,
|
|||
notEmpty = SplayRoot(&root, splayTreeOfCBS(cbs));
|
||||
if (notEmpty) {
|
||||
CBSBlock block;
|
||||
SplayNode node;
|
||||
SplayNode node = NULL; /* suppress "may be used uninitialized" */
|
||||
|
||||
size = cbsBlockOfSplayNode(root)->maxSize;
|
||||
METER_ACC(cbs->splaySearch, cbs->splayTreeSize);
|
||||
|
|
|
|||
|
|
@ -407,7 +407,7 @@ static void MRGGuardianInit(MRG mrg, Link link, RefPart refPart)
|
|||
|
||||
static void MRGMessageDelete(Message message)
|
||||
{
|
||||
Pool pool;
|
||||
Pool pool = NULL; /* suppress "may be used uninitialized" */
|
||||
Arena arena;
|
||||
Link link;
|
||||
Bool b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue