Merge pull request #66548 from akien-mga/msvc-warnings-c4701-c4703

Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used
This commit is contained in:
Rémi Verschelde 2022-09-28 20:47:50 +02:00
commit e5857bd6c7
8 changed files with 17 additions and 15 deletions

View file

@ -5342,8 +5342,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;