diff options
Diffstat (limited to 'modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd')
-rw-r--r-- | modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd b/modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd index 68e3bd424f..013a2e4beb 100644 --- a/modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd +++ b/modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd @@ -1,2 +1,4 @@ func test(): - var unused = "not used" + var unused = "not used" + + var _unused = "not used, but no warning since the variable name starts with an underscore" |