]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Solaris CC requires break statements at end of switches...
authorTed Lemon <source@isc.org>
Wed, 15 Sep 1999 17:22:52 +0000 (17:22 +0000)
committerTed Lemon <source@isc.org>
Wed, 15 Sep 1999 17:22:52 +0000 (17:22 +0000)
common/execute.c
omapip/protocol.c

index 8ece943195d65f05e41fa70127623aaa55d8cabf..06d4efd606f8953847a91d4888909b9bc7b89e2b 100644 (file)
@@ -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);
index a8b8dad7aad3f93a85ad472778f096b0875727bd..95d80b09421c6d7aff66eb05aacd4f35958befc8 100644 (file)
@@ -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;
 }