summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-23 03:12:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-23 03:12:59 +0300
commita74191bc53df482ce637ba585016105673add785 (patch)
treeb9278259cb1cf9249117b80baeddaff34f7c0a91 /src/resources
parentdb39d0fd0f3487bff91fd727e87546964f0cda69 (diff)
downloadmanaverse-a74191bc53df482ce637ba585016105673add785.tar.gz
manaverse-a74191bc53df482ce637ba585016105673add785.tar.bz2
manaverse-a74191bc53df482ce637ba585016105673add785.tar.xz
manaverse-a74191bc53df482ce637ba585016105673add785.zip
Fix some code style and compilation warnings.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.cpp4
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()));