mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
fix(kernel): ✏️ correct ReturnLogError macro structure
Missing "do".
This commit is contained in:
parent
3404bbc3bc
commit
2791a602b5
@ -476,12 +476,11 @@ typedef uint48_t uint_fast48_t;
|
|||||||
*((type *)stack++)
|
*((type *)stack++)
|
||||||
|
|
||||||
#define ReturnLogError(ret, format, ...) \
|
#define ReturnLogError(ret, format, ...) \
|
||||||
|
do \
|
||||||
{ \
|
{ \
|
||||||
trace(format, ##__VA_ARGS__); \
|
trace(format, ##__VA_ARGS__); \
|
||||||
return ret; \
|
return ret; \
|
||||||
} \
|
} while (0)
|
||||||
while (0) \
|
|
||||||
__builtin_unreachable()
|
|
||||||
|
|
||||||
#define AssertReturnError(condition, ret) \
|
#define AssertReturnError(condition, ret) \
|
||||||
do \
|
do \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user