summaryrefslogtreecommitdiff
path: root/src/CommandLine.cxx
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-01-31 20:12:05 -0800
committerRosen Penev <rosenp@gmail.com>2020-02-01 19:52:38 -0800
commit568deefd6814c233bf629f190290a657e66fbe33 (patch)
tree0aacdcdc1940e7b1508c10ce02c244e27871722a /src/CommandLine.cxx
parentbc6eca2115d8d333eed61d23a01958926bbd7a9c (diff)
[clang-tidy] remove pointless void arg
Found with modernize-redundant-void-arg Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'src/CommandLine.cxx')
-rw-r--r--src/CommandLine.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CommandLine.cxx b/src/CommandLine.cxx
index 6ea1980e7..44843301d 100644
--- a/src/CommandLine.cxx
+++ b/src/CommandLine.cxx
@@ -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"