Commit 01f2de51 by David Neto

Avoid spurious warning about uninit var

parent 3ee5f2f1
......@@ -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