mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-19 06:42:43 +00:00
fix a lot of warnings about unused variables, or maybe uninitialized variables
This commit is contained in:
@@ -36,7 +36,7 @@ void ConfigManager::load(json def, bool lock) {
|
||||
file >> conf;
|
||||
file.close();
|
||||
}
|
||||
catch (std::exception e) {
|
||||
catch (const std::exception& e) {
|
||||
spdlog::error("Config file '{0}' is corrupted, resetting it", path);
|
||||
conf = def;
|
||||
save(false);
|
||||
|
||||
Reference in New Issue
Block a user