aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/PlaylistError.hxx1
-rw-r--r--src/command/CommandError.cxx4
2 files changed, 0 insertions, 5 deletions
diff --git a/src/PlaylistError.hxx b/src/PlaylistError.hxx
index 500acd711..9b80d9045 100644
--- a/src/PlaylistError.hxx
+++ b/src/PlaylistError.hxx
@@ -24,7 +24,6 @@ class Domain;
enum class PlaylistResult {
SUCCESS,
- ERRNO,
DENIED,
NO_SUCH_SONG,
NO_SUCH_LIST,
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;