Unverified Commit 7ab45646 by John Kessenich Committed by GitHub

Merge pull request #2359 from dneto0/fix-warn

Avoid spurious warning about uninit var
parents 3ee5f2f1 01f2de51
......@@ -639,7 +639,7 @@ public:
int addBlockName(const TString& name, const TType& type, int size)
{
int blockIndex;
int blockIndex = 0;
if (type.isArray()) {
TType derefType(type, 0);
for (int e = 0; e < type.getOuterArraySize(); ++e) {
......
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