summaryrefslogtreecommitdiff
path: root/src/resources/loaders
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/loaders')
-rw-r--r--src/resources/loaders/xmlloader.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/resources/loaders/xmlloader.cpp b/src/resources/loaders/xmlloader.cpp
index de227a1cb..5623e807e 100644
--- a/src/resources/loaders/xmlloader.cpp
+++ b/src/resources/loaders/xmlloader.cpp
@@ -43,13 +43,6 @@ namespace
return nullptr;
const ResourceLoader *const
rl = static_cast<const ResourceLoader *const>(v);
- SDL_RWops *const rw = MPHYSFSRWOPS_openRead(rl->path.c_str());
- if (!rw)
- {
- reportAlways("Error loading resource: %s",
- rl->path.c_str());
- return nullptr;
- }
Resource *const res = new XML::Document(rl->path,
rl->useResman,
rl->skipError);