From dd16f9480ac67ab0c6b0102d110cd5121ed9ab46 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 16 Jul 2012 22:15:03 +0300 Subject: 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. --- src/backend/tcop/postgres.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/backend/tcop/postgres.c') 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 */ } -- cgit v1.2.3