mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +00:00
Remove a variable that is unused when assertions aren't enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159011 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2732,8 +2732,7 @@ public:
|
|||||||
Self operator++() {
|
Self operator++() {
|
||||||
// Check index correctness after increment.
|
// Check index correctness after increment.
|
||||||
// Note: Index == getNumCases() means end().
|
// Note: Index == getNumCases() means end().
|
||||||
unsigned NumCases = SI->getNumCases();
|
assert(Index+1 <= SI->getNumCases() && "Index out the number of cases.");
|
||||||
assert(Index+1 <= NumCases && "Index out the number of cases.");
|
|
||||||
++Index;
|
++Index;
|
||||||
if (Index == 0)
|
if (Index == 0)
|
||||||
SubsetIt = SI->TheSubsets.begin();
|
SubsetIt = SI->TheSubsets.begin();
|
||||||
|
Reference in New Issue
Block a user