summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/tests/scripts/runtime')
-rw-r--r--modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd b/modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd
index b676ece24b..ef2d9a1d60 100644
--- a/modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd
+++ b/modules/gdscript/tests/scripts/runtime/features/reset_uninit_local_vars.gd
@@ -10,12 +10,12 @@ func test():
var c := 1
if true:
- @warning_ignore("unassigned_variable")
var a
- print(a)
@warning_ignore("unassigned_variable")
+ print(a)
var b
- print(b)
@warning_ignore("unassigned_variable")
+ print(b)
var c: Object
+ @warning_ignore("unassigned_variable")
print(c)