Fix warning for unused but set variable in CInput

Delete not used index variable i in updateText method.

Signed-off-by: Simon <simon@fentzl.de>
This commit is contained in:
Simon authored and Cayleb-Ordo committed 2026-10-24 12:30:04 +02:00
1 parent 750fbe44bd
commit 3499f18091
1 file changed
+1 -2
+1 -2
View File
@@ -1602,10 +1602,9 @@ void CInput::UpdateText(int from, int to_before, int to_after)
// actually remove the entire lines they are on, it'll all have
// to be redone. And when going along, we'll delete a row at a time
// when continuing to see how much more after 'to' we need to remake.
int i = 0;
for (std::list<SRow>::iterator it = m_CharacterPositions.begin();
it != m_CharacterPositions.end();
++it, ++i)
++it)
{
if (!destroy_row_from_used && it->m_ListStart > from)
{