Avoid spurious warning about uninit var

This commit is contained in:
David Neto 2020-07-27 15:33:56 -04:00
parent 3ee5f2f1d3
commit 01f2de512a

View File

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