aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2009-03-04 04:35:06 +0000
committerMax Horn2009-03-04 04:35:06 +0000
commit2943234d6fa9ccfad6aac096668f6681ce7d66ed (patch)
tree12c5ff32f628f6463884bbe74229f6abb93ea283 /engines
parent804910c42219ddbbc428f619515952c1474e9096 (diff)
downloadscummvm-rg350-2943234d6fa9ccfad6aac096668f6681ce7d66ed.tar.gz
scummvm-rg350-2943234d6fa9ccfad6aac096668f6681ce7d66ed.tar.bz2
scummvm-rg350-2943234d6fa9ccfad6aac096668f6681ce7d66ed.zip
SCI: Fix warnings
svn-id: r39103
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/scicore/resource.cpp1
-rw-r--r--engines/sci/scicore/resource.h4
-rw-r--r--engines/sci/scicore/resource_map.cpp1
3 files changed, 2 insertions, 4 deletions
diff --git a/engines/sci/scicore/resource.cpp b/engines/sci/scicore/resource.cpp
index 90ee1412a5..71645a67ad 100644
--- a/engines/sci/scicore/resource.cpp
+++ b/engines/sci/scicore/resource.cpp
@@ -443,7 +443,6 @@ void ResourceManager::freeResourceSources(ResourceSource *rss) {
}
ResourceManager::ResourceManager(int version, int maxMemory) {
- int resource_error = 0;
int resmap_version = version;
_maxMemory = maxMemory;
diff --git a/engines/sci/scicore/resource.h b/engines/sci/scicore/resource.h
index 83015c6f63..2bde681bad 100644
--- a/engines/sci/scicore/resource.h
+++ b/engines/sci/scicore/resource.h
@@ -156,8 +156,8 @@ struct ResourceSource {
class Resource {
public:
- Resource::Resource();
- Resource::~Resource();
+ Resource();
+ ~Resource();
void unalloc();
// NOTE : Currently all member data has the same name and public visibility
diff --git a/engines/sci/scicore/resource_map.cpp b/engines/sci/scicore/resource_map.cpp
index e50e24b257..8f9e50a494 100644
--- a/engines/sci/scicore/resource_map.cpp
+++ b/engines/sci/scicore/resource_map.cpp
@@ -328,7 +328,6 @@ int ResourceManager::readResourceMapSCI1(ResourceSource *map, ResourceSource *vo
int fsize;
Common::File file;
int resource_nr;
- int resource_index = 0;
int ofs, header_size;
int *types = (int *)sci_malloc(sizeof(int) * (sci1_last_resource + 1));
int i;