[ovs-dev] [PATCH] include/openvswitch/utils.h:

Greg Rose gvrose8192 at gmail.com
Mon Oct 9 22:59:37 UTC 2017


Fix macro for case where build is done with NDEBUG

Signed-off-by: Greg Rose <gvrose8192 at gmail.com>
---
 include/openvswitch/util.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/openvswitch/util.h b/include/openvswitch/util.h
index abebf96..72299e7 100644
--- a/include/openvswitch/util.h
+++ b/include/openvswitch/util.h
@@ -52,7 +52,7 @@ const char *ovs_get_program_version(void);
         ovs_assert_failure(OVS_SOURCE_LOCATOR, __func__, #CONDITION);       \
     }
 #else
-#define ovs_assert(CONDITION) ((void) (CONDITION))
+#define ovs_assert(CONDITION) ((void) (CONDITION));
 #endif
 OVS_NO_RETURN void ovs_assert_failure(const char *, const char *, const char *);
 
-- 
1.8.3.1



More information about the dev mailing list