diff --git a/include/rapidjson/internal/regex.h b/include/rapidjson/internal/regex.h index 1aff9e25..4127f9ce 100644 --- a/include/rapidjson/internal/regex.h +++ b/include/rapidjson/internal/regex.h @@ -462,7 +462,6 @@ private: void CloneTopOperand(Stack& operandStack) { const Frag *src = operandStack.template Top(); - SizeType minIndex = minIndex; SizeType count = stateCount_ - src->minIndex; // Assumes top operand contains states in [src->minIndex, stateCount_) State* s = states_.template Push(count); memcpy(s, &GetState(src->minIndex), count * sizeof(State));