1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

GDScript: Add annotation to ignore warnings

This commit is contained in:
George Marques
2022-01-04 09:32:43 -03:00
parent 1032c2c434
commit fd643c903d
7 changed files with 116 additions and 12 deletions

View File

@@ -213,7 +213,7 @@ GDScriptWarning::Code GDScriptWarning::get_code_from_name(const String &p_name)
}
}
ERR_FAIL_V_MSG(WARNING_MAX, "Invalid GDScript warning name: " + p_name);
return WARNING_MAX;
}
#endif // DEBUG_ENABLED