mirror of
https://github.com/thepigeongenerator/mcaselector-lite
synced 2026-02-07 23:28:09 +01:00
Delete __VA_OPT__ from logging macros, since this is unnecessary.
This commit is contained in:
@@ -16,8 +16,8 @@ void error_warn(uint ln, const char *restrict file, const char *restrict fmt, ..
|
||||
void error_error(uint ln, const char *restrict file, const char *restrict fmt, ...);
|
||||
void error_fatal(uint ln, const char *restrict file, const char *restrict fmt, ...) NORET;
|
||||
|
||||
#define debug(...) error_debug(__LINE__, __FILE__ __VA_OPT__(, ) __VA_ARGS__)
|
||||
#define info(...) error_info(__LINE__, __FILE__ __VA_OPT__(, ) __VA_ARGS__)
|
||||
#define warn(...) error_warn(__LINE__, __FILE__ __VA_OPT__(, ) __VA_ARGS__)
|
||||
#define error(...) error_error(__LINE__, __FILE__ __VA_OPT__(, ) __VA_ARGS__)
|
||||
#define fatal(...) error_fatal(__LINE__, __FILE__ __VA_OPT__(, ) __VA_ARGS__)
|
||||
#define debug(...) error_debug(__LINE__, __FILE__, __VA_ARGS__)
|
||||
#define info(...) error_info(__LINE__, __FILE__, __VA_ARGS__)
|
||||
#define warn(...) error_warn(__LINE__, __FILE__, __VA_ARGS__)
|
||||
#define error(...) error_error(__LINE__, __FILE__, __VA_ARGS__)
|
||||
#define fatal(...) error_fatal(__LINE__, __FILE__, __VA_ARGS__)
|
||||
|
||||
Reference in New Issue
Block a user