diff options
author | Max Kellermann <max@duempel.org> | 2008-10-13 16:30:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-13 16:30:44 +0200 |
commit | bc85e92a722d945d193c9f3881e4ee9f96c8f2b6 (patch) | |
tree | a09dabcccbd447ea1bb162047ae8090a24376a7a /src/state_file.c | |
parent | 07c9b62764c2704380338dd26db7dc4d9b67dc2e (diff) | |
download | mpd-bc85e92a722d945d193c9f3881e4ee9f96c8f2b6.tar.gz mpd-bc85e92a722d945d193c9f3881e4ee9f96c8f2b6.tar.xz mpd-bc85e92a722d945d193c9f3881e4ee9f96c8f2b6.zip |
playlist: don't use isPlaylist() in deletePlaylist()
The only caller of deletePlaylist() appends PLAYLIST_FILE_SUFFIX, so
we can be sure it's already there. We don't need to stat the file,
since unlink() does all the checking.
Diffstat (limited to 'src/state_file.c')
0 files changed, 0 insertions, 0 deletions