Skip to content

Commit

Permalink
fix re_assert_se fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Aug 9, 2023
1 parent 3887e7d commit ec9e805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/re_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ typedef int re_sock_t;

#if defined(RELEASE) || defined(NDEBUG)
#define re_assert(expr) (void)0
#define re_assert_se(expr) do(expr) while(false)
#define re_assert_se(expr) do{(void)(expr);} while(false)
#else
#define re_assert(expr) assert(expr)
#define re_assert_se(expr) assert(expr)
Expand Down

0 comments on commit ec9e805

Please sign in to comment.