diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-23 03:12:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-23 03:12:59 +0300 |
commit | a74191bc53df482ce637ba585016105673add785 (patch) | |
tree | b9278259cb1cf9249117b80baeddaff34f7c0a91 /src/resources/resourcemanager.cpp | |
parent | db39d0fd0f3487bff91fd727e87546964f0cda69 (diff) | |
download | mv-a74191bc53df482ce637ba585016105673add785.tar.gz mv-a74191bc53df482ce637ba585016105673add785.tar.bz2 mv-a74191bc53df482ce637ba585016105673add785.tar.xz mv-a74191bc53df482ce637ba585016105673add785.zip |
Fix some code style and compilation warnings.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index ad188ec1c..92c18fa2a 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -256,7 +256,7 @@ void ResourceManager::searchAndAddArchives(const std::string &path, if (len > ext.length() && !ext.compare((*i) + (len - ext.length()))) { - std::string file, realPath, archive, realFixPath; + std::string file, realPath, archive; file = path + (*i); realPath = std::string(PHYSFS_getRealDir(file.c_str())); @@ -281,7 +281,7 @@ void ResourceManager::searchAndRemoveArchives(const std::string &path, if (len > ext.length() && !ext.compare((*i) + (len - ext.length()))) { - std::string file, realPath, archive, realFixPath; + std::string file, realPath, archive; file = path + (*i); realPath = std::string(PHYSFS_getRealDir(file.c_str())); |