Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used

This commit is contained in:
Rémi Verschelde
2022-09-28 17:05:34 +02:00
parent 14e1f36e61
commit 85fe6ecc32
8 changed files with 17 additions and 15 deletions

View File

@ -5344,8 +5344,8 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons
last_type = IDENTIFIER_MAX;
_set_tkpos(pos);
DataType data_type;
IdentifierType ident_type;
DataType data_type = TYPE_MAX;
IdentifierType ident_type = IDENTIFIER_MAX;
int array_size = 0;
StringName struct_name;
bool is_local = false;