mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 17:33:33 +00:00
Merge pull request #49067 from JFonS/fix_gcc_warnings
Fix some warnings raised by GCC-11.1
This commit is contained in:
commit
59b524ae4c
5 changed files with 32 additions and 26 deletions
|
@ -2223,7 +2223,7 @@ Error GDScriptCompiler::_parse_class_level(GDScript *p_script, const GDScriptPar
|
|||
if (err) {
|
||||
return err;
|
||||
}
|
||||
if (base.is_null() && !base->is_valid()) {
|
||||
if (base.is_null() || !base->is_valid()) {
|
||||
return ERR_COMPILATION_FAILED;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue