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
commit 796df2d74e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);