From 304d78a4c8a51b18323791409573541f0c4534e3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Feb 2016 11:17:43 +0100 Subject: [PATCH] command/error: remove playlist_domain from ToAck(Error) playlist_domain is no longer used for class Error. --- src/command/CommandError.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/command/CommandError.cxx b/src/command/CommandError.cxx index 397960760..2291efc7a 100644 --- a/src/command/CommandError.cxx +++ b/src/command/CommandError.cxx @@ -141,9 +141,7 @@ gcc_pure static enum ack ToAck(const Error &error) { - if (error.IsDomain(playlist_domain)) { - return ToAck((PlaylistResult)error.GetCode()); - } else if (error.IsDomain(ack_domain)) { + if (error.IsDomain(ack_domain)) { return (enum ack)error.GetCode(); #ifdef ENABLE_DATABASE } else if (error.IsDomain(db_domain)) {