From 2185591156a7868322aa444fdec024425b90238b Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 4 Apr 2008 17:27:38 +0000 Subject: (svn r12565) -Cleanup: variable scope in misc\*.cpp --- src/misc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/misc.cpp') diff --git a/src/misc.cpp b/src/misc.cpp index b13200522..a9c65b774 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -481,9 +481,8 @@ static void Load_CHTS() { Cheat* cht = (Cheat*)&_cheats; uint count = SlGetFieldLength() / 2; - uint i; - for (i = 0; i < count; i++) { + for (uint i = 0; i < count; i++) { cht[i].been_used = (SlReadByte() != 0); cht[i].value = (SlReadByte() != 0); } -- cgit v1.2.3-70-g09d2