mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-25 22:14:34 +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++)
|
||||
|
||||
#define ReturnLogError(ret, format, ...) \
|
||||
do \
|
||||
{ \
|
||||
trace(format, ##__VA_ARGS__); \
|
||||
return ret; \
|
||||
} \
|
||||
while (0) \
|
||||
__builtin_unreachable()
|
||||
} while (0)
|
||||
|
||||
#define AssertReturnError(condition, ret) \
|
||||
do \
|
||||
|
Loading…
x
Reference in New Issue
Block a user