Merge pull request #20970 from Chaosus/fix_spam

Remove usage console spam
This commit is contained in:
Rémi Verschelde 2018-08-13 16:15:42 +02:00 committed by GitHub
commit c091c12dcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -5797,7 +5797,6 @@ GDScriptParser::DataType GDScriptParser::_reduce_node_type(Node *p_node) {
if (id->declared_block) { if (id->declared_block) {
node_type = id->declared_block->variables[id->name]->get_datatype(); node_type = id->declared_block->variables[id->name]->get_datatype();
id->declared_block->variables[id->name]->usages += 1; id->declared_block->variables[id->name]->usages += 1;
print_line("var " + id->name + " line " + itos(id->line) + " usages " + itos(id->declared_block->variables[id->name]->usages));
} else if (id->name == "#match_value") { } else if (id->name == "#match_value") {
// It's a special id just for the match statetement, ignore // It's a special id just for the match statetement, ignore
break; break;