You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix -Wsuggest-attribute=format warnings.
This commit is contained in:
@@ -567,7 +567,7 @@ Error ScriptClassParser::parse(const String &p_code) {
|
||||
if (full_name.length())
|
||||
full_name += ".";
|
||||
full_name += class_decl.name;
|
||||
OS::get_singleton()->print(String("Ignoring generic class declaration: " + class_decl.name).utf8());
|
||||
OS::get_singleton()->print("%s", String("Ignoring generic class declaration: " + class_decl.name).utf8().get_data());
|
||||
}
|
||||
}
|
||||
} else if (tk == TK_IDENTIFIER && String(value) == "struct") {
|
||||
|
||||
Reference in New Issue
Block a user