aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-11-11 19:50:57 +0100
committerMax Kellermann <max@duempel.org>2015-11-11 19:50:57 +0100
commit2e55d561d35ed832d1f03ad4c5474ac0a32260fb (patch)
treeeea55ea0d8f4aca2be9bc168903800238b47c0ec /src/command
parent76a9049739a0e05c57a778e62fa5cb7a89b96937 (diff)
downloadmpd-2e55d561d35ed832d1f03ad4c5474ac0a32260fb.tar.gz
mpd-2e55d561d35ed832d1f03ad4c5474ac0a32260fb.tar.xz
mpd-2e55d561d35ed832d1f03ad4c5474ac0a32260fb.zip
PlaylistError: remove unused code "ERRNO"
Diffstat (limited to 'src/command')
-rw-r--r--src/command/CommandError.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/command/CommandError.cxx b/src/command/CommandError.cxx
index 9f06431b4..d771fd60e 100644
--- a/src/command/CommandError.cxx
+++ b/src/command/CommandError.cxx
@@ -36,10 +36,6 @@ print_playlist_result(Response &r, PlaylistResult result)
case PlaylistResult::SUCCESS:
return CommandResult::OK;
- case PlaylistResult::ERRNO:
- r.Error(ACK_ERROR_SYSTEM, strerror(errno));
- return CommandResult::ERROR;
-
case PlaylistResult::DENIED:
r.Error(ACK_ERROR_PERMISSION, "Access denied");
return CommandResult::ERROR;