mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 13:11:13 +00:00
Fix use of unitialized variables
The second in my quest to make Godot 3.x compile with -Werror on GCC7
This commit is contained in:
parent
dac150108a
commit
9c63ab99f0
38 changed files with 129 additions and 86 deletions
|
|
@ -2586,7 +2586,7 @@ ShaderLanguage::Node *ShaderLanguage::_parse_expression(BlockNode *p_block, cons
|
|||
}
|
||||
|
||||
bool index_valid = false;
|
||||
DataType member_type;
|
||||
DataType member_type = TYPE_VOID;
|
||||
|
||||
switch (expr->get_datatype()) {
|
||||
case TYPE_BVEC2:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue