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
f066bb77
Commit
f066bb77
authored
Sep 17, 2015
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unix/Daemon, playlist/...: remove unused Domain variables
parent
4e3d1821
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
21 deletions
+0
-21
Main.cxx
src/Main.cxx
+0
-3
ShineEncoderPlugin.cxx
src/encoder/plugins/ShineEncoderPlugin.cxx
+0
-3
VolumeFilterPlugin.cxx
src/filter/plugins/VolumeFilterPlugin.cxx
+0
-3
MixerAll.cxx
src/mixer/MixerAll.cxx
+0
-3
PipeOutputPlugin.cxx
src/output/plugins/PipeOutputPlugin.cxx
+0
-3
XspfPlaylistPlugin.cxx
src/playlist/plugins/XspfPlaylistPlugin.cxx
+0
-3
Daemon.cxx
src/unix/Daemon.cxx
+0
-3
No files found.
src/Main.cxx
View file @
f066bb77
...
...
@@ -54,7 +54,6 @@
#include "system/FatalError.hxx"
#include "util/UriUtil.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "thread/Id.hxx"
#include "thread/Slack.hxx"
#include "lib/icu/Init.hxx"
...
...
@@ -123,8 +122,6 @@
static
constexpr
unsigned
DEFAULT_BUFFER_SIZE
=
4096
;
static
constexpr
unsigned
DEFAULT_BUFFER_BEFORE_PLAY
=
10
;
static
constexpr
Domain
main_domain
(
"main"
);
#ifdef ANDROID
Context
*
context
;
#endif
...
...
src/encoder/plugins/ShineEncoderPlugin.cxx
View file @
f066bb77
...
...
@@ -26,7 +26,6 @@
#include "util/NumberParser.hxx"
#include "util/DynamicFifoBuffer.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
extern
"C"
{
...
...
@@ -60,8 +59,6 @@ struct ShineEncoder {
bool
WriteChunk
(
bool
flush
);
};
static
constexpr
Domain
shine_encoder_domain
(
"shine_encoder"
);
inline
bool
ShineEncoder
::
Configure
(
const
config_param
&
param
,
gcc_unused
Error
&
error
)
...
...
src/filter/plugins/VolumeFilterPlugin.cxx
View file @
f066bb77
...
...
@@ -26,7 +26,6 @@
#include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include <assert.h>
#include <string.h>
...
...
@@ -50,8 +49,6 @@ public:
Error
&
error
)
override
;
};
static
constexpr
Domain
volume_domain
(
"pcm_volume"
);
static
Filter
*
volume_filter_init
(
gcc_unused
const
config_param
&
param
,
gcc_unused
Error
&
error
)
...
...
src/mixer/MixerAll.cxx
View file @
f066bb77
...
...
@@ -25,13 +25,10 @@
#include "output/Internal.hxx"
#include "pcm/Volume.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "Log.hxx"
#include <assert.h>
static
constexpr
Domain
mixer_domain
(
"mixer"
);
static
int
output_mixer_get_volume
(
const
AudioOutput
&
ao
)
{
...
...
src/output/plugins/PipeOutputPlugin.cxx
View file @
f066bb77
...
...
@@ -22,7 +22,6 @@
#include "../OutputAPI.hxx"
#include "config/ConfigError.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include <string>
...
...
@@ -44,8 +43,6 @@ struct PipeOutput {
bool
Configure
(
const
config_param
&
param
,
Error
&
error
);
};
static
constexpr
Domain
pipe_output_domain
(
"pipe_output"
);
inline
bool
PipeOutput
::
Configure
(
const
config_param
&
param
,
Error
&
error
)
{
...
...
src/playlist/plugins/XspfPlaylistPlugin.cxx
View file @
f066bb77
...
...
@@ -25,14 +25,11 @@
#include "input/InputStream.hxx"
#include "tag/TagBuilder.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "lib/expat/ExpatParser.hxx"
#include "Log.hxx"
#include <string.h>
static
constexpr
Domain
xspf_domain
(
"xspf"
);
/**
* This is the state object for the GLib XML parser.
*/
...
...
src/unix/Daemon.cxx
View file @
f066bb77
...
...
@@ -22,7 +22,6 @@
#include "system/FatalError.hxx"
#include "fs/AllocatedPath.hxx"
#include "fs/FileSystem.hxx"
#include "util/Domain.hxx"
#include "PidFile.hxx"
#include "Log.hxx"
...
...
@@ -37,8 +36,6 @@
#include <grp.h>
#endif
static
constexpr
Domain
daemon_domain
(
"daemon"
);
#ifndef WIN32
/** the Unix user name which MPD runs as */
...
...
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