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
568deefd
Unverified
Commit
568deefd
authored
Jan 31, 2020
by
Rosen Penev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[clang-tidy] remove pointless void arg
Found with modernize-redundant-void-arg Signed-off-by:
Rosen Penev
<
rosenp@gmail.com
>
parent
bc6eca21
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
18 additions
and
18 deletions
+18
-18
CommandLine.cxx
src/CommandLine.cxx
+2
-2
LogInit.cxx
src/LogInit.cxx
+1
-1
ArchiveList.cxx
src/archive/ArchiveList.cxx
+1
-1
InotifyUpdate.cxx
src/db/update/InotifyUpdate.cxx
+1
-1
FlacDecoderPlugin.cxx
src/decoder/plugins/FlacDecoderPlugin.cxx
+1
-1
MikmodDecoderPlugin.cxx
src/decoder/plugins/MikmodDecoderPlugin.cxx
+4
-4
CdioParanoiaInputPlugin.cxx
src/input/plugins/CdioParanoiaInputPlugin.cxx
+1
-1
State.cxx
src/output/State.cxx
+1
-1
JackOutputPlugin.cxx
src/output/plugins/JackOutputPlugin.cxx
+1
-1
PulseOutputPlugin.cxx
src/output/plugins/PulseOutputPlugin.cxx
+1
-1
Daemon.cxx
src/unix/Daemon.cxx
+4
-4
No files found.
src/CommandLine.cxx
View file @
568deefd
...
...
@@ -107,7 +107,7 @@ static constexpr OptionDef option_defs[] = {
static
constexpr
Domain
cmdline_domain
(
"cmdline"
);
gcc_noreturn
static
void
version
(
void
)
static
void
version
()
{
printf
(
"Music Player Daemon "
VERSION
" (%s)"
"
\n
"
...
...
@@ -273,7 +273,7 @@ static void PrintOption(const OptionDef &opt)
}
gcc_noreturn
static
void
help
(
void
)
static
void
help
()
{
printf
(
"Usage:
\n
"
" mpd [OPTION...] [path/to/mpd.conf]
\n
"
...
...
src/LogInit.cxx
View file @
568deefd
...
...
@@ -63,7 +63,7 @@ static void redirect_logs(int fd)
}
static
int
open_log_file
(
void
)
open_log_file
()
{
assert
(
!
out_path
.
IsNull
());
...
...
src/archive/ArchiveList.cxx
View file @
568deefd
...
...
@@ -73,7 +73,7 @@ archive_plugin_from_name(const char *name) noexcept
return
nullptr
;
}
void
archive_plugin_init_all
(
void
)
void
archive_plugin_init_all
()
{
for
(
unsigned
i
=
0
;
archive_plugins
[
i
]
!=
nullptr
;
++
i
)
{
const
ArchivePlugin
*
plugin
=
archive_plugins
[
i
];
...
...
src/db/update/InotifyUpdate.cxx
View file @
568deefd
...
...
@@ -330,7 +330,7 @@ mpd_inotify_init(EventLoop &loop, Storage &storage, UpdateService &update,
}
void
mpd_inotify_finish
(
void
)
noexcept
mpd_inotify_finish
()
noexcept
{
if
(
inotify_source
==
nullptr
)
return
;
...
...
src/decoder/plugins/FlacDecoderPlugin.cxx
View file @
568deefd
...
...
@@ -102,7 +102,7 @@ flac_scan_stream(InputStream &is, TagHandler &handler) noexcept
* Some glue code around FLAC__stream_decoder_new().
*/
static
FlacStreamDecoder
flac_decoder_new
(
void
)
flac_decoder_new
()
{
FlacStreamDecoder
sd
;
if
(
!
FLAC__stream_decoder_set_metadata_respond
(
sd
.
get
(),
FLAC__METADATA_TYPE_VORBIS_COMMENT
))
...
...
src/decoder/plugins/MikmodDecoderPlugin.cxx
View file @
568deefd
...
...
@@ -38,24 +38,24 @@ static constexpr Domain mikmod_domain("mikmod");
static
constexpr
size_t
MIKMOD_FRAME_SIZE
=
4096
;
static
BOOL
mikmod_mpd_init
(
void
)
mikmod_mpd_init
()
{
return
VC_Init
();
}
static
void
mikmod_mpd_exit
(
void
)
mikmod_mpd_exit
()
{
VC_Exit
();
}
static
void
mikmod_mpd_update
(
void
)
mikmod_mpd_update
()
{
}
static
BOOL
mikmod_mpd_is_present
(
void
)
mikmod_mpd_is_present
()
{
return
true
;
}
...
...
src/input/plugins/CdioParanoiaInputPlugin.cxx
View file @
568deefd
...
...
@@ -162,7 +162,7 @@ parse_cdio_uri(const char *src)
}
static
AllocatedPath
cdio_detect_device
(
void
)
cdio_detect_device
()
{
char
**
devices
=
cdio_get_devices_with_cap
(
nullptr
,
CDIO_FS_AUDIO
,
false
);
...
...
src/output/State.cxx
View file @
568deefd
...
...
@@ -80,7 +80,7 @@ audio_output_state_read(const char *line, MultipleOutputs &outputs)
}
unsigned
audio_output_state_get_version
(
void
)
audio_output_state_get_version
()
{
return
audio_output_state_version
;
}
src/output/plugins/JackOutputPlugin.cxx
View file @
568deefd
...
...
@@ -419,7 +419,7 @@ JackOutput::Connect()
}
static
bool
mpd_jack_test_default_device
(
void
)
mpd_jack_test_default_device
()
{
return
true
;
}
...
...
src/output/plugins/PulseOutputPlugin.cxx
View file @
568deefd
...
...
@@ -872,7 +872,7 @@ try {
}
static
bool
pulse_output_test_default_device
(
void
)
pulse_output_test_default_device
()
{
return
PulseOutput
::
TestDefaultDevice
();
}
...
...
src/unix/Daemon.cxx
View file @
568deefd
...
...
@@ -66,7 +66,7 @@ static bool had_group = false;
static
int
detach_fd
=
-
1
;
void
daemonize_kill
(
void
)
daemonize_kill
()
{
if
(
pidfile
.
IsNull
())
throw
std
::
runtime_error
(
"no pid_file specified in the config file"
);
...
...
@@ -85,14 +85,14 @@ daemonize_kill(void)
}
void
daemonize_close_stdin
(
void
)
daemonize_close_stdin
()
{
close
(
STDIN_FILENO
);
open
(
"/dev/null"
,
O_RDONLY
);
}
void
daemonize_set_user
(
void
)
daemonize_set_user
()
{
if
(
user_name
==
nullptr
)
return
;
...
...
@@ -245,7 +245,7 @@ daemonize_init(const char *user, const char *group, AllocatedPath &&_pidfile)
}
void
daemonize_finish
(
void
)
daemonize_finish
()
{
if
(
!
pidfile
.
IsNull
())
{
unlink
(
pidfile
.
c_str
());
...
...
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