Merge pull request #30576 from qarmin/lgtm_coverage

Changed some code reported by LGTM and Coverity
This commit is contained in:
Rémi Verschelde 2019-07-20 12:00:13 +02:00 committed by GitHub
commit d15cf7b672
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 94 additions and 202 deletions

View file

@ -1766,8 +1766,6 @@ GDScriptParser::Node *GDScriptParser::_reduce_expression(Node *p_node, bool p_to
cn->value = v;
cn->datatype = _type_from_variant(v);
return cn;
} else if (op->arguments[0]->type == Node::TYPE_BUILT_IN_FUNCTION && last_not_constant == 0) {
}
return op; //don't reduce yet