mirror of
https://github.com/godotengine/godot-visual-script.git
synced 2026-01-04 18:10:07 +03:00
Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
@@ -831,7 +831,6 @@ VisualScriptExpression::ENode *VisualScriptExpression::_parse_expression() {
|
|||||||
case TK_BUILTIN_FUNC: {
|
case TK_BUILTIN_FUNC: {
|
||||||
//builtin function
|
//builtin function
|
||||||
|
|
||||||
Variant::Type bt = Variant::Type(int(tk.value));
|
|
||||||
_get_token(tk);
|
_get_token(tk);
|
||||||
if (tk.type != TK_PARENTHESIS_OPEN) {
|
if (tk.type != TK_PARENTHESIS_OPEN) {
|
||||||
_set_error("Expected '('");
|
_set_error("Expected '('");
|
||||||
|
|||||||
Reference in New Issue
Block a user