aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.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/executor/execMain.c
parent762bcbdba2a2519b01b17b2c2b28f36e5ee9ea25 (diff)
downloadpostgresql-fb627b76ccc4c7074e37b6b94155864f6cbd1b23.tar.gz
postgresql-fb627b76ccc4c7074e37b6b94155864f6cbd1b23.zip
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/executor/execMain.c')
-rw-r--r--src/backend/executor/execMain.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 21f3bfc1b00..1f70b2704ad 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -26,7 +26,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.263 2006/01/07 22:30:43 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.264 2006/01/11 08:43:12 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1231,7 +1231,7 @@ lnext: ;
default:
elog(ERROR, "unrecognized heap_lock_tuple status: %u",
test);
- return (NULL);
+ return NULL;
}
}
}
@@ -2109,7 +2109,7 @@ lpqnext:;
epq->rti = 0;
estate->es_useEvalPlan = false;
/* and continue Query execution */
- return (NULL);
+ return NULL;
}
Assert(oldepq->rti != 0);
/* push current PQ to freePQ stack */
@@ -2119,7 +2119,7 @@ lpqnext:;
goto lpqnext;
}
- return (slot);
+ return slot;
}
static void