Merge pull request #1885 from zoddicus/fixUnInitializedVariableWarnings

Initialize variable to avoid uninitialized variable warnings in Clang
This commit is contained in:
John Kessenich
2019-08-28 22:44:15 -06:00
committed by GitHub

View File

@@ -7077,7 +7077,7 @@ TIntermTyped* TParseContext::constructBuiltIn(const TType& type, TOperator op, T
} }
node = intermediate.setAggregateOperator(node, EOpConstructCooperativeMatrix, type, node->getLoc()); node = intermediate.setAggregateOperator(node, EOpConstructCooperativeMatrix, type, node->getLoc());
} else { } else {
TOperator op; TOperator op = EOpNull;
switch (type.getBasicType()) { switch (type.getBasicType()) {
default: default:
assert(0); assert(0);