forked from OSchip/llvm-project
Remove a variable that is unused when assertions aren't enabled.
llvm-svn: 159011
This commit is contained in:
parent
ef1c7ae323
commit
e209570e8f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue