Przeglądaj źródła

confgen: disable redundant assignment warning

Renz Christian Bagaporo 7 lat temu
rodzic
commit
5a4fe0bac8
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      tools/kconfig_new/confgen.py

+ 1 - 0
tools/kconfig_new/confgen.py

@@ -81,6 +81,7 @@ def main():
         os.environ[name] = value
 
     config = kconfiglib.Kconfig(args.kconfig)
+    config.disable_redun_warnings()
 
     if len(args.defaults) > 0:
         # always load defaults first, so any items which are not defined in that config