godot/modules/gdscript/tests/scripts/parser/warnings/unused_variable.gd

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
131 B
GDScript3
Raw Normal View History

func test():
var unused = "not used"
var _unused = "not used, but no warning since the variable name starts with an underscore"