Avoid default: followed by no statement, per Dann Corbit.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Jul 2004 01:44:36 +0000 (01:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Jul 2004 01:44:36 +0000 (01:44 +0000)
src/bin/pg_ctl/pg_ctl.c

index faf2b97790b50a0ff5200d8c676eb010ad2deafe..52f2ea874f1b19f89cf8bc996d49b21a9b4dbc35 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  *
- * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.22 2004/07/15 15:23:32 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.23 2004/07/22 01:44:36 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -987,7 +987,8 @@ static void WINAPI pgwin32_ServiceMain(DWORD argc, LPTSTR *argv)
                        break;
 
                default:
-                       /* assert(false); */
+                       /* shouldn't get here? */
+                       break;
        }
 
        CloseHandle(shutdownEvent);