mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove LogLevel::Fatal
It's never used.
This commit is contained in:
+1
-5
@@ -23,8 +23,6 @@ extern const uint8_t LIBLOOT_LOG_LEVEL_WARNING;
|
||||
|
||||
extern const uint8_t LIBLOOT_LOG_LEVEL_ERROR;
|
||||
|
||||
extern const uint8_t LIBLOOT_LOG_LEVEL_FATAL;
|
||||
|
||||
void libloot_set_logging_callback(void (*callback)(uint8_t, const char*, void*),
|
||||
void* context);
|
||||
}
|
||||
@@ -48,7 +46,7 @@ LogLevel convert(uint8_t level) {
|
||||
} else if (level == LIBLOOT_LOG_LEVEL_ERROR) {
|
||||
return LogLevel::error;
|
||||
} else {
|
||||
return LogLevel::fatal;
|
||||
return LogLevel::error;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,8 +62,6 @@ loot::rust::LogLevel convert(LogLevel level) {
|
||||
return loot::rust::LogLevel::Warning;
|
||||
case LogLevel::error:
|
||||
return loot::rust::LogLevel::Error;
|
||||
case LogLevel::fatal:
|
||||
return loot::rust::LogLevel::Fatal;
|
||||
default:
|
||||
return loot::rust::LogLevel::Trace;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user