aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/init/postinit.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-02-29 10:48:40 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-02-29 10:48:40 -0500
commitc110678a47aac87c661785a70061e160cd17713d (patch)
tree3ae74a082a4efff4e0193be4bd372c8e6370ce0b /src/backend/utils/init/postinit.c
parent05893712cc9950b7c4c312aa9d3d444375bf15a2 (diff)
downloadpostgresql-c110678a47aac87c661785a70061e160cd17713d.tar.gz
postgresql-c110678a47aac87c661785a70061e160cd17713d.zip
Remove useless unary plus.
It's harmless, but might confuse readers. Seems to have been introduced in 6bc8ef0b7f1f1df3. Back-patch, just to avoid cosmetic cross-branch differences. Amit Langote
Diffstat (limited to 'src/backend/utils/init/postinit.c')
-rw-r--r--src/backend/utils/init/postinit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c
index e22d4db2d64..6b760d4265b 100644
--- a/src/backend/utils/init/postinit.c
+++ b/src/backend/utils/init/postinit.c
@@ -498,7 +498,7 @@ InitializeMaxBackends(void)
/* the extra unit accounts for the autovacuum launcher */
MaxBackends = MaxConnections + autovacuum_max_workers + 1 +
- +max_worker_processes;
+ max_worker_processes;
/* internal error because the values were all checked previously */
if (MaxBackends > MAX_BACKENDS)