mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Renamed compiler.warning_flags pref to compiler.warning_level
Provided a default value for compiler.warning_flags Releasing avr core 1.6.5
This commit is contained in:
@ -903,8 +903,8 @@ public class Compiler implements MessageConsumer {
|
||||
}
|
||||
|
||||
private void setupWarningFlags(PreferencesMap dict) {
|
||||
if (dict.containsKey("compiler.warning_flags")) {
|
||||
String key = "compiler.warning_flags." + dict.get("compiler.warning_flags");
|
||||
if (dict.containsKey("compiler.warning_level")) {
|
||||
String key = "compiler.warning_flags." + dict.get("compiler.warning_level");
|
||||
dict.put("compiler.warning_flags", dict.get(key));
|
||||
} else {
|
||||
dict.put("compiler.warning_flags", dict.get("compiler.warning_flags.none"));
|
||||
|
Reference in New Issue
Block a user