aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/playlist.c')
-rw-r--r--src/playlist.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 4b7ea6074..0baebc6ea 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -1185,20 +1185,6 @@ void shufflePlaylist(void)
}
}
-enum playlist_result deletePlaylist(const char *utf8file)
-{
- char path_max_tmp[MPD_PATH_MAX];
-
- utf8_to_fs_playlist_path(path_max_tmp, utf8file);
-
- if (unlink(path_max_tmp) < 0)
- return errno == ENOENT
- ? PLAYLIST_RESULT_NO_SUCH_LIST
- : PLAYLIST_RESULT_ERRNO;
-
- return PLAYLIST_RESULT_SUCCESS;
-}
-
enum playlist_result savePlaylist(const char *utf8file)
{
FILE *fp;