diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/scicore/resource.cpp | 1 | ||||
-rw-r--r-- | engines/sci/scicore/resource.h | 4 | ||||
-rw-r--r-- | engines/sci/scicore/resource_map.cpp | 1 |
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; |