cppcheck: unreadVariable

Change-Id: If3d480bf3032ec2bd2edc62bb73dd93b00c2cbe7
This commit is contained in:
Thomas Arnhold
2014-05-24 17:06:47 +02:00
parent e4f7907c0a
commit 3d385fefb9

View File

@@ -634,14 +634,6 @@ static void ImplCalcSet( ImplSplitSet* pSet,
}
}
}
else
{
for ( i = 0; i < nItems; i++ )
{
if ( !(pItems[i].mnBits & SWIB_INVISIBLE) )
nCurSize += pItems[i].mnPixSize;
}
}
// calculate maximum size
if ( bRows )