summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fs/virtfs/virtfsrwops.cpp16
-rw-r--r--src/fs/virtfs/virtfsrwops.h1
2 files changed, 0 insertions, 17 deletions
diff --git a/src/fs/virtfs/virtfsrwops.cpp b/src/fs/virtfs/virtfsrwops.cpp
index e66748967..c354b2e14 100644
--- a/src/fs/virtfs/virtfsrwops.cpp
+++ b/src/fs/virtfs/virtfsrwops.cpp
@@ -226,22 +226,6 @@ SDL_RWops *VirtFs::create_rwops(VirtFile *const file)
return retval;
} /* VirtFs::create_rwops */
-SDL_RWops *VirtFs::makeRwops(VirtFile *const handle)
-{
- SDL_RWops *retval = nullptr;
- if (!handle)
- {
- logger->assertLog("VirtFs::rwops_seek: NULL pointer passed to "
- "RWopsmakeRWops().");
- }
- else
- {
- retval = VirtFs::create_rwops(handle);
- }
-
- return retval;
-} /* RWopsmakeRWops */
-
#ifdef __APPLE__
static bool checkFilePath(const std::string &restrict fname)
{
diff --git a/src/fs/virtfs/virtfsrwops.h b/src/fs/virtfs/virtfsrwops.h
index ea1259d17..cc3fe55cf 100644
--- a/src/fs/virtfs/virtfsrwops.h
+++ b/src/fs/virtfs/virtfsrwops.h
@@ -77,7 +77,6 @@ namespace VirtFs
SDL_RWops *rwopsOpenWrite(const std::string &restrict fname) A_WARN_UNUSED;
SDL_RWops *rwopsOpenAppend(const std::string &restrict fname)
A_WARN_UNUSED;
- SDL_RWops *makeRwops(VirtFile *const handle) A_WARN_UNUSED;
} // namespace VirtFs
#endif // SRC_FS_VIRTFSRWOPS_H