Unverified Commit 796df2d7 by John Kessenich Committed by GitHub

Merge pull request #1885 from zoddicus/fixUnInitializedVariableWarnings

Initialize variable to avoid uninitialized variable warnings in Clang
parents 14e13e75 8b91ecba
......@@ -7077,7 +7077,7 @@ TIntermTyped* TParseContext::constructBuiltIn(const TType& type, TOperator op, T
}
node = intermediate.setAggregateOperator(node, EOpConstructCooperativeMatrix, type, node->getLoc());
} else {
TOperator op;
TOperator op = EOpNull;
switch (type.getBasicType()) {
default:
assert(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment