Browse Source

Revert "Print a warning with unknown SCons variables to ease troubleshooting"

This reverts commit 60d1200a265a26c5034f4074ffc507ea52bef526.
Rémi Verschelde 3 years ago
parent
commit
6e1bcf9390
1 changed files with 0 additions and 7 deletions
  1. 0 7
      SConstruct

+ 0 - 7
SConstruct

@@ -289,13 +289,6 @@ opts.Update(env_base)
 env_base["platform"] = selected_platform  # Must always be re-set after calling opts.Update().
 env_base["platform"] = selected_platform  # Must always be re-set after calling opts.Update().
 Help(opts.GenerateHelpText(env_base))
 Help(opts.GenerateHelpText(env_base))
 
 
-# Detect and print a warning listing unknown SCons variables to ease troubleshooting.
-unknown = opts.UnknownVariables()
-if unknown:
-    print("WARNING: Unknown SCons variables were passed and will be ignored:")
-    for item in unknown.items():
-        print("    " + item[0] + "=" + item[1])
-
 # add default include paths
 # add default include paths
 
 
 env_base.Prepend(CPPPATH=["#"])
 env_base.Prepend(CPPPATH=["#"])