summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/macro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/macro.h b/src/shared/macro.h
index 37cdff1cb3..c22de91705 100644
--- a/src/shared/macro.h
+++ b/src/shared/macro.h
@@ -150,7 +150,7 @@ static inline size_t ALIGN_TO(size_t l, size_t ali) {
#define assert_return(expr, r) \
do { \
- if (!(expr)) \
+ if (_unlikely_(!(expr))) \
return (r); \
} while (false)