protocol/Ack: remove unused variable `ack_domain`
This commit is contained in:
parent
3562a3e51e
commit
1195eb266e
|
@ -224,7 +224,6 @@ log_dep = declare_dependency(
|
||||||
sources = [
|
sources = [
|
||||||
version_cxx,
|
version_cxx,
|
||||||
'src/Main.cxx',
|
'src/Main.cxx',
|
||||||
'src/protocol/Ack.cxx',
|
|
||||||
'src/protocol/ArgParser.cxx',
|
'src/protocol/ArgParser.cxx',
|
||||||
'src/protocol/Result.cxx',
|
'src/protocol/Result.cxx',
|
||||||
'src/command/CommandError.cxx',
|
'src/command/CommandError.cxx',
|
||||||
|
|
|
@ -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");
|
|
|
@ -25,8 +25,6 @@
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
class Domain;
|
|
||||||
|
|
||||||
enum ack {
|
enum ack {
|
||||||
ACK_ERROR_NOT_LIST = 1,
|
ACK_ERROR_NOT_LIST = 1,
|
||||||
ACK_ERROR_ARG = 2,
|
ACK_ERROR_ARG = 2,
|
||||||
|
@ -43,8 +41,6 @@ enum ack {
|
||||||
ACK_ERROR_EXIST = 56,
|
ACK_ERROR_EXIST = 56,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern const Domain ack_domain;
|
|
||||||
|
|
||||||
class ProtocolError : public std::runtime_error {
|
class ProtocolError : public std::runtime_error {
|
||||||
enum ack code;
|
enum ack code;
|
||||||
|
|
||||||
|
|
|
@ -264,7 +264,6 @@ if enable_database
|
||||||
executable(
|
executable(
|
||||||
'DumpDatabase',
|
'DumpDatabase',
|
||||||
'DumpDatabase.cxx',
|
'DumpDatabase.cxx',
|
||||||
'../src/protocol/Ack.cxx',
|
|
||||||
'../src/db/Registry.cxx',
|
'../src/db/Registry.cxx',
|
||||||
'../src/db/Selection.cxx',
|
'../src/db/Selection.cxx',
|
||||||
'../src/db/PlaylistVector.cxx',
|
'../src/db/PlaylistVector.cxx',
|
||||||
|
|
Loading…
Reference in New Issue