Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
1195eb26
Commit
1195eb26
authored
Oct 28, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
protocol/Ack: remove unused variable `ack_domain`
parent
3562a3e5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
29 deletions
+0
-29
meson.build
meson.build
+0
-1
Ack.cxx
src/protocol/Ack.cxx
+0
-23
Ack.hxx
src/protocol/Ack.hxx
+0
-4
meson.build
test/meson.build
+0
-1
No files found.
meson.build
View file @
1195eb26
...
...
@@ -224,7 +224,6 @@ log_dep = declare_dependency(
sources = [
version_cxx,
'src/Main.cxx',
'src/protocol/Ack.cxx',
'src/protocol/ArgParser.cxx',
'src/protocol/Result.cxx',
'src/command/CommandError.cxx',
...
...
src/protocol/Ack.cxx
deleted
100644 → 0
View file @
3562a3e5
/*
* 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"
);
src/protocol/Ack.hxx
View file @
1195eb26
...
...
@@ -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
;
...
...
test/meson.build
View file @
1195eb26
...
...
@@ -264,7 +264,6 @@ if enable_database
executable(
'DumpDatabase',
'DumpDatabase.cxx',
'../src/protocol/Ack.cxx',
'../src/db/Registry.cxx',
'../src/db/Selection.cxx',
'../src/db/PlaylistVector.cxx',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment