Fix macro for case where build is done with NDEBUG Signed-off-by: Greg Rose <gvrose8...@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 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev