[ovs-dev] [PATCH 6/7] ofp-actions: Remove break after OVS_NOT_REACHED.
Bhanuprakash Bodireddy
bhanuprakash.bodireddy at intel.com
Sun Oct 1 07:57:39 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>
---
lib/ofp-actions.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c
index 71eb70c..432b469 100644
--- a/lib/ofp-actions.c
+++ b/lib/ofp-actions.c
@@ -5482,7 +5482,6 @@ parse_UNROLL_XLATE(char *arg OVS_UNUSED,
enum ofputil_protocol *usable_protocols OVS_UNUSED)
{
OVS_NOT_REACHED();
- return NULL;
}
static void
--
2.4.11
More information about the dev
mailing list