From 94670b2eefb8e65351c1a237b40ec84039fd3ec8 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 13 Apr 2002 04:39:04 +0000 Subject: Fix various warnings, and things preventing non-win32 platforms from compiling. svn-id: r3916 --- resource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resource.cpp') diff --git a/resource.cpp b/resource.cpp index 92b37771de..d5b74443da 100644 --- a/resource.cpp +++ b/resource.cpp @@ -415,7 +415,7 @@ void Scumm::allocResTypeData(int id, uint32 tag, int num, const char *name, void Scumm::loadCharset(int no) { - int i, line = 0; + int i; byte *ptr; debug(9, "loadCharset(%d)", no); @@ -923,7 +923,7 @@ void Scumm::expireResources(uint32 size) int i, j; byte flag; byte best_counter; - int best_type, best_res; + int best_type, best_res = 0; uint32 oldAllocatedSize; // return; -- cgit v1.2.3