diff --git a/common/JackAtomicState.h b/common/JackAtomicState.h index 00e96b66..07caf509 100644 --- a/common/JackAtomicState.h +++ b/common/JackAtomicState.h @@ -218,15 +218,15 @@ class JackAtomicState { T* state; UInt16 cur_index; - UInt16 next_index = GetCurrentIndex(); + UInt16 next_index = GetCurrentIndex(); do { - cur_index = next_index; + cur_index = next_index; state = ReadCurrentState(); ...... ...... - next_index = GetCurrentIndex(); + next_index = GetCurrentIndex(); } while (cur_index != next_index); } */