[ovs-dev] [PATCH 7/7] ovsdb: Remove break after OVS_NOT_REACHED.

Bhanuprakash Bodireddy bhanuprakash.bodireddy at intel.com
Sun Oct 1 07:57:40 UTC 2017


The break statement would never be executed as OVS_NOT_REACHED()
internally invokes abort() and causes process termination.

Signed-off-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
---
 ovsdb/replication.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ovsdb/replication.c b/ovsdb/replication.c
index 304212d..8dd1181 100644
--- a/ovsdb/replication.c
+++ b/ovsdb/replication.c
@@ -874,7 +874,6 @@ replication_status(void)
             break;
         default:
             OVS_NOT_REACHED();
-            break;
         }
     } else {
         ds_put_format(&ds, "not connected to %s", sync_from);
-- 
2.4.11



More information about the dev mailing list