mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix static analysis warnings
This commit is contained in:
@@ -252,7 +252,9 @@ void System::format(uuid::console::Shell & shell) {
|
||||
}
|
||||
|
||||
void System::syslog_init() {
|
||||
#ifndef EMSESP_STANDALONE
|
||||
bool was_enabled = syslog_enabled_;
|
||||
#endif
|
||||
EMSESP::webSettingsService.read([&](WebSettings & settings) {
|
||||
syslog_enabled_ = settings.syslog_enabled;
|
||||
syslog_level_ = settings.syslog_level;
|
||||
|
||||
Reference in New Issue
Block a user