added braces to try_assert
This commit is contained in:
parent
f0992c0217
commit
a0affaa6d0
@ -93,4 +93,4 @@ typedef struct Result_ {
|
|||||||
}\
|
}\
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
#define try_assert(EXPR) if(!(EXPR)) Return RESULT_ERROR((#EXPR), false)
|
#define try_assert(EXPR) if(!(EXPR)) { Return RESULT_ERROR((#EXPR), false); }
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user