From 97f7270aa8fa8b1618545f5eca4a9a1872f3d661 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 5 May 2020 14:18:01 +0200 Subject: [PATCH] fs/FileSystem: remove unused function FOpen() --- src/fs/FileSystem.hxx | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/fs/FileSystem.hxx b/src/fs/FileSystem.hxx index e9ad4eab8..de74a7a15 100644 --- a/src/fs/FileSystem.hxx +++ b/src/fs/FileSystem.hxx @@ -20,7 +20,6 @@ #ifndef MPD_FS_FILESYSTEM_HXX #define MPD_FS_FILESYSTEM_HXX -#include "Traits.hxx" #include "Path.hxx" #include "system/UniqueFileDescriptor.hxx" @@ -30,24 +29,9 @@ #include #include -#include - class AllocatedPath; -/** - * Wrapper for fopen() that uses #Path names. - */ -static inline FILE * -FOpen(Path file, PathTraitsFS::const_pointer mode) -{ -#ifdef _WIN32 - return _tfopen(file.c_str(), mode); -#else - return fopen(file.c_str(), mode); -#endif -} - /** * Wrapper for open_cloexec() that uses #Path names. */