diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-02 00:01:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 00:01:31 +0200 |
commit | 53fbd93409adfde3671396b52291c02a1c281843 (patch) | |
tree | 2e668e40c6ad51da360f5dfcbfd30279f5c84b9f /modules/gdscript/gdscript_parser.cpp | |
parent | fb5e732f78d388e9063f4563198ebd0518ae0878 (diff) | |
parent | b2bba4be44dc34953402c5cde74c26b89ad84cbc (diff) |
Merge pull request #22593 from akien-mga/fix-warnings
Fix various warnings raised by Clang 7
Diffstat (limited to 'modules/gdscript/gdscript_parser.cpp')
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 5facfe7869..2fa5084d84 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -7835,7 +7835,7 @@ void GDScriptParser::_check_block_types(BlockNode *p_block) { // Figure out function name for warning String func_name = _find_function_name(op); if (func_name.empty()) { - func_name == "<undetected name>"; + func_name = "<undetected name>"; } _add_warning(GDScriptWarning::RETURN_VALUE_DISCARDED, op->line, func_name); } |