summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2006-01-11 08:43:13 +0000
committerNeil Conway <neilc@samurai.com>2006-01-11 08:43:13 +0000
commitfb627b76ccc4c7074e37b6b94155864f6cbd1b23 (patch)
treea8e7b008b4f6c2a2188641937e5b984f40b60104 /src/backend/access/transam/xlog.c
parent762bcbdba2a2519b01b17b2c2b28f36e5ee9ea25 (diff)
Cosmetic code cleanup: fix a bunch of places that used "return (expr);"
rather than "return expr;" -- the latter style is used in most of the tree. I kept the parentheses when they were necessary or useful because the return expression was complex.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 91ce3559a15..38f31ff8188 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.225 2005/12/29 18:08:05 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/access/transam/xlog.c,v 1.226 2006/01/11 08:43:12 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -561,7 +561,7 @@ XLogInsert(RmgrId rmid, uint8 info, XLogRecData *rdata)
{
RecPtr.xlogid = 0;
RecPtr.xrecoff = SizeOfXLogLongPHD; /* start of 1st chkpt record */
- return (RecPtr);
+ return RecPtr;
}
/*
@@ -953,7 +953,7 @@ begin:;
END_CRIT_SECTION();
- return (RecPtr);
+ return RecPtr;
}
/*
@@ -1742,7 +1742,7 @@ XLogFileInit(uint32 log, uint32 seg,
path, log, seg)));
}
else
- return (fd);
+ return fd;
}
/*
@@ -1834,7 +1834,7 @@ XLogFileInit(uint32 log, uint32 seg,
errmsg("could not open file \"%s\" (log file %u, segment %u): %m",
path, log, seg)));
- return (fd);
+ return fd;
}
/*