summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Eisentraut2012-07-16 19:15:03 +0000
committerPeter Eisentraut2012-07-16 19:15:03 +0000
commitdd16f9480ac67ab0c6b0102d110cd5121ed9ab46 (patch)
treef47afeb2053d2daa328047976fe9969556c40444 /src/backend/tcop/postgres.c
parenta76c857eba977a91a07ab752d4811eb5734f0b5c (diff)
Remove unreachable code
The Solaris Studio compiler warns about these instances, unlike more mainstream compilers such as gcc. But manual inspection showed that the code is clearly not reachable, and we hope no worthy compiler will complain about removing this code.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 9a5438f18af..f696375cabc 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -4198,11 +4198,6 @@ PostgresMain(int argc, char *argv[], const char *username)
firstchar)));
}
} /* end of input-reading loop */
-
- /* can't get here because the above loop never exits */
- Assert(false);
-
- abort(); /* keep compiler quiet */
}