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

@@ -6,7 +6,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.9 1998/06/09 17:13:05 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.10 1998/06/15 19:29:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -110,9 +110,7 @@ ValidateBinary(char *path)
if (pwp)
{
if (pwp->pw_gid == buf.st_gid)
{
++in_grp;
}
else if (pwp->pw_name &&
(gp = getgrgid(buf.st_gid)))
{

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.28 1998/05/29 17:00:21 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/postinit.c,v 1.29 1998/06/15 19:29:49 momjian Exp $
*
* NOTES
* InitPostgres() is the function called from PostgresMain
@@ -295,9 +295,7 @@ InitCommunication()
postid = getenv("POSTID");
if (!PointerIsValid(postid))
{
MyBackendTag = -1;
}
else
{
MyBackendTag = atoi(postid);
@@ -307,9 +305,7 @@ InitCommunication()
ipc_key = getenv("IPC_KEY");
if (!PointerIsValid(ipc_key))
{
key = -1;
}
else
{
key = atoi(ipc_key);
@@ -367,9 +363,7 @@ InitCommunication()
* ----------------
*/
if (MyBackendTag == -1)
{
MyBackendTag = 1;
}
key = PrivateIPCKey;
}