From 99ded56047814dfc629b727f1c3b8cd8d6a518f2 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 28 Feb 2016 11:48:12 +0100 Subject: [PATCH] command/error: remove db_domain from ToAck(Error) --- src/command/CommandError.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/command/CommandError.cxx b/src/command/CommandError.cxx index 2291efc7a..4659a3f9a 100644 --- a/src/command/CommandError.cxx +++ b/src/command/CommandError.cxx @@ -143,10 +143,6 @@ ToAck(const Error &error) { if (error.IsDomain(ack_domain)) { return (enum ack)error.GetCode(); -#ifdef ENABLE_DATABASE - } else if (error.IsDomain(db_domain)) { - return ToAck((DatabaseErrorCode)error.GetCode()); -#endif } else if (error.IsDomain(locate_uri_domain)) { return ACK_ERROR_ARG; } else if (error.IsDomain(errno_domain)) {