diff options
author | Max Kellermann <max@duempel.org> | 2013-01-09 08:44:20 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-09 12:25:39 +0100 |
commit | a890dadfd2aeadf5bbacb4f10a896bbebe335c99 (patch) | |
tree | 30911e6a6aa172fd044c9919b995e705224c49ad | |
parent | 6b4374583a11b5120492aa5698fec5f78385c9a5 (diff) | |
download | mpd-a890dadfd2aeadf5bbacb4f10a896bbebe335c99.tar.gz mpd-a890dadfd2aeadf5bbacb4f10a896bbebe335c99.tar.xz mpd-a890dadfd2aeadf5bbacb4f10a896bbebe335c99.zip |
test/run_decoder,read_tags: remove obsolete dummy functions
-rw-r--r-- | test/read_tags.c | 21 | ||||
-rw-r--r-- | test/run_decoder.c | 21 |
2 files changed, 0 insertions, 42 deletions
diff --git a/test/read_tags.c b/test/read_tags.c index 2471610e6..43335ec2f 100644 --- a/test/read_tags.c +++ b/test/read_tags.c @@ -24,11 +24,9 @@ #include "input_init.h" #include "input_stream.h" #include "audio_format.h" -#include "pcm_volume.h" #include "tag_ape.h" #include "tag_id3.h" #include "tag_handler.h" -#include "idle.h" #include <glib.h> @@ -40,25 +38,6 @@ #include <locale.h> #endif -/** - * No-op dummy. - */ -void -idle_add(G_GNUC_UNUSED unsigned flags) -{ -} - -/** - * No-op dummy. - */ -bool -pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length, - G_GNUC_UNUSED enum sample_format format, - G_GNUC_UNUSED int volume) -{ - return true; -} - void decoder_initialized(G_GNUC_UNUSED struct decoder *decoder, G_GNUC_UNUSED const struct audio_format *audio_format, diff --git a/test/run_decoder.c b/test/run_decoder.c index 3da5216d5..d2f87c9ae 100644 --- a/test/run_decoder.c +++ b/test/run_decoder.c @@ -24,8 +24,6 @@ #include "input_init.h" #include "input_stream.h" #include "audio_format.h" -#include "pcm_volume.h" -#include "idle.h" #include "stdbin.h" #include <glib.h> @@ -44,25 +42,6 @@ my_log_func(const gchar *log_domain, G_GNUC_UNUSED GLogLevelFlags log_level, g_printerr("%s\n", message); } -/** - * No-op dummy. - */ -void -idle_add(G_GNUC_UNUSED unsigned flags) -{ -} - -/** - * No-op dummy. - */ -bool -pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length, - G_GNUC_UNUSED enum sample_format format, - G_GNUC_UNUSED int volume) -{ - return true; -} - struct decoder { const char *uri; |