From 7f4e1bde1edd3f1c08848b1a1f77505758f2ea13 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sun, 23 Jan 2011 00:19:40 +0000 Subject: HUGO: Fix several warnings svn-id: r55453 --- engines/hugo/file_v3d.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/hugo/file_v3d.cpp') diff --git a/engines/hugo/file_v3d.cpp b/engines/hugo/file_v3d.cpp index a0a5bc1119..4e3570ad95 100644 --- a/engines/hugo/file_v3d.cpp +++ b/engines/hugo/file_v3d.cpp @@ -143,8 +143,8 @@ void FileManager_v3d::readOverlay(int screenNum, image_pt image, ovl_t overlayTy break; } if (i == 0) { - for (i = 0; i < kOvlSize; i++) - image[i] = 0; + for (int idx = 0; idx < kOvlSize; idx++) + image[idx] = 0; return; } @@ -183,8 +183,8 @@ void FileManager_v3d::readOverlay(int screenNum, image_pt image, ovl_t overlayTy break; } if (i == 0) { - for (i = 0; i < kOvlSize; i++) - image[i] = 0; + for (int idx = 0; idx < kOvlSize; idx++) + image[idx] = 0; return; } -- cgit v1.2.3