mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2025-06-26 04:41:53 +02:00
Fix
This commit is contained in:
parent
462f75761a
commit
d09539f627
@ -17,7 +17,7 @@
|
||||
|
||||
#define ERRCHK_PRINT_(...) \
|
||||
do { \
|
||||
__VA_OPT__(PRINTINTERR(__VA_ARGS__);) \
|
||||
PRINTINTERR(__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
||||
/*
|
||||
@ -27,7 +27,7 @@
|
||||
#define ERRCHK_RET(cond, ...) \
|
||||
do { \
|
||||
if (cond) { \
|
||||
ERRCHK_PRINT_(__VA_ARGS__); \
|
||||
__VA_OPT__(ERRCHK_PRINT_(__VA_ARGS__);) \
|
||||
return ERR; \
|
||||
} \
|
||||
} while (0)
|
||||
@ -35,7 +35,7 @@
|
||||
#define ERRCHK_GOTO(cond, ret, label, ...) \
|
||||
do { \
|
||||
if (cond) { \
|
||||
ERRCHK_PRINT_(__VA_ARGS__); \
|
||||
__VA_OPT__(ERRCHK_PRINT_(__VA_ARGS__);) \
|
||||
ret = ERR; \
|
||||
goto label; \
|
||||
} \
|
||||
|
Loading…
x
Reference in New Issue
Block a user