summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/atlas/atlasmanager.cpp4
-rw-r--r--src/resources/loaders/imageloader.cpp1
-rw-r--r--src/resources/loaders/musicloader.cpp1
-rw-r--r--src/resources/loaders/soundloader.cpp1
4 files changed, 0 insertions, 7 deletions
diff --git a/src/resources/atlas/atlasmanager.cpp b/src/resources/atlas/atlasmanager.cpp
index 46894b24b..768b6db7e 100644
--- a/src/resources/atlas/atlasmanager.cpp
+++ b/src/resources/atlas/atlasmanager.cpp
@@ -167,10 +167,6 @@ void AtlasManager::loadImages(const StringVect &files,
images.push_back(image);
}
}
- else
- {
- reportAlways("Physfs error: %s", VirtFs::getLastError());
- }
delete d;
}
BLOCK_END("AtlasManager::loadImages")
diff --git a/src/resources/loaders/imageloader.cpp b/src/resources/loaders/imageloader.cpp
index 3a4909d94..e141afa2d 100644
--- a/src/resources/loaders/imageloader.cpp
+++ b/src/resources/loaders/imageloader.cpp
@@ -69,7 +69,6 @@ namespace
{
delete d;
reportAlways("Image loading error: %s", path1.c_str());
- reportAlways("Physfs error: %s", VirtFs::getLastError());
BLOCK_END("DyedImageLoader::load")
return nullptr;
}
diff --git a/src/resources/loaders/musicloader.cpp b/src/resources/loaders/musicloader.cpp
index ee464ae48..bb1415dcc 100644
--- a/src/resources/loaders/musicloader.cpp
+++ b/src/resources/loaders/musicloader.cpp
@@ -50,7 +50,6 @@ namespace
SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path);
if (!rw)
{
- reportAlways("Physfs error: %s", VirtFs::getLastError());
reportAlways("Error loading resource: %s",
rl->path.c_str());
return nullptr;
diff --git a/src/resources/loaders/soundloader.cpp b/src/resources/loaders/soundloader.cpp
index cbc0cbde9..93e7c38f9 100644
--- a/src/resources/loaders/soundloader.cpp
+++ b/src/resources/loaders/soundloader.cpp
@@ -50,7 +50,6 @@ namespace
SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path);
if (!rw)
{
- reportAlways("Physfs error: %s", VirtFs::getLastError());
reportAlways("Error loading resource: %s",
rl->path.c_str());
return nullptr;