mirror of
https://github.com/microsoft/PowerToys
synced 2025-09-04 16:35:10 +00:00
Fix cppcheck reported issues (#333)
Fixes: https://github.com/microsoft/PowerToys/issues/266
This commit is contained in:
committed by
GitHub
parent
12cd7bb49f
commit
8ac6db8b5a
@@ -23,7 +23,7 @@ json::value get_power_toys_settings() {
|
||||
json::value powertoys_config = json::value::parse(powertoy.get_config());
|
||||
result.as_object()[name] = powertoys_config;
|
||||
}
|
||||
catch (json::json_exception ex) {
|
||||
catch (json::json_exception&) {
|
||||
//Malformed JSON.
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user