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

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"