aboutsummaryrefslogtreecommitdiff
path: root/resource.cpp
diff options
context:
space:
mode:
authorJames Brown2002-04-13 04:39:04 +0000
committerJames Brown2002-04-13 04:39:04 +0000
commit94670b2eefb8e65351c1a237b40ec84039fd3ec8 (patch)
treeeebb261073fe58a232d3e0bfc75fba5331ac3c7d /resource.cpp
parent44d4c1ac6082eb3c3e11217d8fecd8a2713995ca (diff)
downloadscummvm-rg350-94670b2eefb8e65351c1a237b40ec84039fd3ec8.tar.gz
scummvm-rg350-94670b2eefb8e65351c1a237b40ec84039fd3ec8.tar.bz2
scummvm-rg350-94670b2eefb8e65351c1a237b40ec84039fd3ec8.zip
Fix various warnings, and things preventing non-win32 platforms from compiling.
svn-id: r3916
Diffstat (limited to 'resource.cpp')
-rw-r--r--resource.cpp4
1 files changed, 2 insertions, 2 deletions
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;