From: Ted Lemon Date: Wed, 15 Sep 1999 17:22:52 +0000 (+0000) Subject: Solaris CC requires break statements at end of switches... X-Git-Tag: V3-BETA-1-PATCH-2~5^2~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a6dfe4c4b3903e71328ef5862f4bbbebec34491;p=thirdparty%2Fdhcp.git Solaris CC requires break statements at end of switches... --- diff --git a/common/execute.c b/common/execute.c index 8ece94319..06d4efd60 100644 --- a/common/execute.c +++ b/common/execute.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: execute.c,v 1.17 1999/09/09 23:53:14 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: execute.c,v 1.18 1999/09/15 17:22:52 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -301,6 +301,7 @@ int executable_statement_dereference (ptr, name) default: /* Nothing to do. */ + break; } dfree ((*ptr), name); diff --git a/omapip/protocol.c b/omapip/protocol.c index a8b8dad7a..95d80b094 100644 --- a/omapip/protocol.c +++ b/omapip/protocol.c @@ -485,6 +485,7 @@ isc_result_t omapi_protocol_signal_handler (omapi_object_t *h, default: /* XXX should never get here. Assertion? */ + break; } return ISC_R_SUCCESS; }