summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript.cpp
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2023-02-10 10:16:33 +0300
committerDanil Alexeev <danil@alexeev.xyz>2023-02-10 10:16:33 +0300
commit220898a69f832cb06de341bcbfef59a5c47586ac (patch)
treef1f07e8dd75c535eff1f4831260d52b25cc97105 /modules/gdscript/gdscript.cpp
parent929ee61170ec4d431d6d2cfeddccdec2a59a11b7 (diff)
downloadredot-engine-220898a69f832cb06de341bcbfef59a5c47586ac.tar.gz
GDScript: Remove `treat_warnings_as_errors` project setting
Diffstat (limited to 'modules/gdscript/gdscript.cpp')
-rw-r--r--modules/gdscript/gdscript.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp
index a876229276..fe79f37454 100644
--- a/modules/gdscript/gdscript.cpp
+++ b/modules/gdscript/gdscript.cpp
@@ -2578,7 +2578,6 @@ GDScriptLanguage::GDScriptLanguage() {
#ifdef DEBUG_ENABLED
GLOBAL_DEF("debug/gdscript/warnings/enable", true);
- GLOBAL_DEF("debug/gdscript/warnings/treat_warnings_as_errors", false);
GLOBAL_DEF("debug/gdscript/warnings/exclude_addons", true);
for (int i = 0; i < (int)GDScriptWarning::WARNING_MAX; i++) {
GDScriptWarning::Code code = (GDScriptWarning::Code)i;