log: Remove bad usage of [[no_return]]
This commit is contained in:
parent
71083961f9
commit
1976ee66ea
@ -135,7 +135,7 @@ void logv_nonfatal_error(const char *format, va_list ap)
|
||||
had_nonfatal_error = true;
|
||||
}
|
||||
|
||||
[[noreturn]] void logv_error(const char *format, va_list ap)
|
||||
void logv_error(const char *format, va_list ap)
|
||||
{
|
||||
logv_prefixed("ERROR: ", format, ap, LogLevel::ERROR_MSG);
|
||||
|
||||
@ -180,7 +180,7 @@ void log_warning(const char *format, ...)
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
[[noreturn]] void log_error(const char *format, ...)
|
||||
void log_error(const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
|
Loading…
Reference in New Issue
Block a user