diff options
author | Johannes Schickel | 2010-05-13 13:32:12 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-05-13 13:32:12 +0000 |
commit | 983c41bea236f4d22277895ce29fb753407698a0 (patch) | |
tree | f42a1d898435c2735e5651f84dd5ec5af580f2ff /engines | |
parent | f5f104f55053f42d630ec4d331c1ce55e3125389 (diff) | |
download | scummvm-rg350-983c41bea236f4d22277895ce29fb753407698a0.tar.gz scummvm-rg350-983c41bea236f4d22277895ce29fb753407698a0.tar.bz2 scummvm-rg350-983c41bea236f4d22277895ce29fb753407698a0.zip |
Remove useless const on a value return type.
svn-id: r49022
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 767dab8d66..42f5d15a2c 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -437,7 +437,7 @@ Common::File *ResourceManager::getVolumeFile(const char *filename) { return NULL; } -static const uint32 resTypeToMacTag(ResourceType type); +static uint32 resTypeToMacTag(ResourceType type); void ResourceManager::loadResource(Resource *res) { if (res->_source->source_type == kSourcePatch && loadFromPatchFile(res)) @@ -1459,7 +1459,7 @@ static const uint32 resourceTypeMacTags[] = { 'MSG ', 0, 'HEP ' }; -static const uint32 resTypeToMacTag(ResourceType type) { +static uint32 resTypeToMacTag(ResourceType type) { if (type >= ARRAYSIZE(resourceTypeMacTags)) return 0; |