mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Core: Add [[nodiscard]]
to string-like classes
This commit is contained in:
parent
6a6a1168a5
commit
579feb387c
12 changed files with 22 additions and 21 deletions
|
@ -1563,7 +1563,8 @@ Error ShaderCompiler::compile(RS::ShaderMode p_mode, const String &p_code, Ident
|
|||
|
||||
shader = parser.get_shader();
|
||||
function = nullptr;
|
||||
_dump_node_code(shader, 1, r_gen_code, *p_actions, actions, false);
|
||||
// Return value only relevant within nested calls.
|
||||
_ALLOW_DISCARD_ _dump_node_code(shader, 1, r_gen_code, *p_actions, actions, false);
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue