1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Remove un-needed braces around single statements.

This commit is contained in:
Bruce Momjian
1998-06-15 19:30:31 +00:00
parent 27db9ecd0b
commit 6bd323c6b3
224 changed files with 221 additions and 2504 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.7 1998/02/26 04:38:21 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.8 1998/06/15 19:29:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -151,9 +151,7 @@ EnableMemoryContext(bool on)
AssertArg(BoolIsValid(on));
if (BypassEnable(&MemoryContextEnableCount, on))
{
return;
}
processing = true;
@@ -188,9 +186,7 @@ EnableMemoryContext(bool on)
OrderedElemPop(&TopGlobalMemoryData.elemData);
}
else
{
GlobalMemoryDestroy(context);
}
/* what is needed for the top? */
}
@@ -493,15 +489,11 @@ GlobalMemoryDump(GlobalMemory this)
context = (GlobalMemory) OrderedElemGetPredecessor(&this->elemData);
if (PointerIsValid(context))
{
printf("\tpredecessor=%s\n", GlobalMemoryGetName(context));
}
context = (GlobalMemory) OrderedElemGetSuccessor(&this->elemData);
if (PointerIsValid(context))
{
printf("\tsucessor=%s\n", GlobalMemoryGetName(context));
}
AllocSetDump(&this->setData); /* XXX is this right interface */
}