From 83e9c59327d695b4bf2e0d8ae6661b25042ff750 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 16 Dec 2003 09:43:08 +0000 Subject: compilation fixes svn-id: r11679 --- sword1/resman.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sword1/resman.cpp') diff --git a/sword1/resman.cpp b/sword1/resman.cpp index 9dd37c74fa..7a07747526 100644 --- a/sword1/resman.cpp +++ b/sword1/resman.cpp @@ -173,7 +173,7 @@ void ResMan::resOpen(uint32 id) { // load resource ID into memory if (memHandle->cond == MEM_FREED) { // memory has been freed uint32 size = resLength(id); _memMan->alloc(memHandle, size); - uint8 *dest = (uint8*)memHandle->data; + // uint8 *dest = (uint8*)memHandle->data; File *clusFile = openClusterFile(id); clusFile->seek( resOffset(id) ); clusFile->read( memHandle->data, size); @@ -280,7 +280,7 @@ void ResMan::openCptResourceBigEndian(uint32 id) { void ResMan::openScriptResourceBigEndian(uint32 id) { resOpen(id); BsMemHandle *handle = resHandle(id); - uint32 totSize = handle->size; + // uint32 totSize = handle->size; Header *head = (Header*)handle->data; head->comp_length = FROM_LE_32(head->comp_length); head->decomp_length = FROM_LE_32(head->decomp_length); -- cgit v1.2.3