From 2e55d561d35ed832d1f03ad4c5474ac0a32260fb Mon Sep 17 00:00:00 2001
From: Max Kellermann <max@duempel.org>
Date: Wed, 11 Nov 2015 19:50:57 +0100
Subject: PlaylistError: remove unused code "ERRNO"

---
 src/command/CommandError.cxx | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'src/command')

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;
-- 
cgit v1.2.3