mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix -Wsuggest-attribute=format warnings.
This commit is contained in:
parent
ce114e35dd
commit
aff84ec55d
8 changed files with 22 additions and 14 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue