Remove a variable that is unused when assertions aren't enabled.

llvm-svn: 159011
This commit is contained in:
Kaelyn Uhrain 2012-06-22 17:18:15 +00:00
parent ef1c7ae323
commit e209570e8f
1 changed files with 1 additions and 2 deletions

View File

@ -2732,8 +2732,7 @@ public:
Self operator++() {
// Check index correctness after increment.
// Note: Index == getNumCases() means end().
unsigned NumCases = SI->getNumCases();
assert(Index+1 <= NumCases && "Index out the number of cases.");
assert(Index+1 <= SI->getNumCases() && "Index out the number of cases.");
++Index;
if (Index == 0)
SubsetIt = SI->TheSubsets.begin();