Skip to content

Commit 6642911

Browse files
committed
Avoid default: followed by no statement, per Dann Corbit.
1 parent 68938c4 commit 6642911

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
66
*
7-
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.22 2004/07/15 15:23:32 momjian Exp $
7+
* $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.23 2004/07/22 01:44:36 tgl Exp $
88
*
99
*-------------------------------------------------------------------------
1010
*/
@@ -987,7 +987,8 @@ static void WINAPI pgwin32_ServiceMain(DWORD argc, LPTSTR *argv)
987987
break;
988988

989989
default:
990-
/* assert(false); */
990+
/* shouldn't get here? */
991+
break;
991992
}
992993

993994
CloseHandle(shutdownEvent);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy