From 6e1bcf93907cb8d0e182761a37812c7a89efb558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 8 Dec 2021 12:13:20 +0100 Subject: [PATCH] Revert "Print a warning with unknown SCons variables to ease troubleshooting" This reverts commit 60d1200a265a26c5034f4074ffc507ea52bef526. --- SConstruct | 7 ------- 1 file changed, 7 deletions(-) diff --git a/SConstruct b/SConstruct index 5a45c9804bc..0635b57cf2e 100644 --- a/SConstruct +++ b/SConstruct @@ -289,13 +289,6 @@ opts.Update(env_base) env_base["platform"] = selected_platform # Must always be re-set after calling opts.Update(). 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 env_base.Prepend(CPPPATH=["#"])