diff options
author | Max Kellermann <max@musicpd.org> | 2020-10-28 15:46:41 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-10-28 15:47:05 +0100 |
commit | 1195eb266e2b1c5908d16a79c2d432359e7cd100 (patch) | |
tree | d081a023353e59267b2e3897d646ecbbadca5a05 /src/protocol | |
parent | 3562a3e51eba3c5f1f0b555ddc4fa6c47ec18a9a (diff) |
protocol/Ack: remove unused variable `ack_domain`
Diffstat (limited to 'src/protocol')
-rw-r--r-- | src/protocol/Ack.cxx | 23 | ||||
-rw-r--r-- | src/protocol/Ack.hxx | 4 |
2 files changed, 0 insertions, 27 deletions
diff --git a/src/protocol/Ack.cxx b/src/protocol/Ack.cxx deleted file mode 100644 index 5f4f42dd5..000000000 --- a/src/protocol/Ack.cxx +++ /dev/null @@ -1,23 +0,0 @@ -/* - * Copyright 2003-2020 The Music Player Daemon Project - * http://www.musicpd.org - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#include "Ack.hxx" -#include "util/Domain.hxx" - -const Domain ack_domain("ack"); diff --git a/src/protocol/Ack.hxx b/src/protocol/Ack.hxx index 2b479058b..ed5e851fa 100644 --- a/src/protocol/Ack.hxx +++ b/src/protocol/Ack.hxx @@ -25,8 +25,6 @@ #include <stdexcept> #include <utility> -class Domain; - enum ack { ACK_ERROR_NOT_LIST = 1, ACK_ERROR_ARG = 2, @@ -43,8 +41,6 @@ enum ack { ACK_ERROR_EXIST = 56, }; -extern const Domain ack_domain; - class ProtocolError : public std::runtime_error { enum ack code; |