]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#999] Added break in switch statement
authorMarcin Siodelski <marcin@isc.org>
Fri, 8 May 2020 15:20:03 +0000 (17:20 +0200)
committerMarcin Siodelski <marcin@isc.org>
Fri, 8 May 2020 17:30:06 +0000 (19:30 +0200)
src/hooks/dhcp/high_availability/ha_service.cc

index 9e4ef4c12a5cebe33023c10f3251497a176c0785..9f475ecc1692384d4a36565c12befe054e1416e4 100644 (file)
@@ -341,7 +341,7 @@ HAService::partnerInMaintenanceStateHandler() {
     switch (communication_state_->getPartnerState()) {
     case HA_UNAVAILABLE_ST:
         verboseTransition(HA_PARTNER_DOWN_ST);
-    /* Falls through. */
+        break;
     default:
         postNextEvent(NOP_EVT);
     }