aboutsummaryrefslogtreecommitdiffstats
path: root/src/src_lyrics.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-15 12:09:29 +0200
committerMax Kellermann <max@duempel.org>2008-09-15 12:09:29 +0200
commit1cd28efa96dbc3d49a43d9b12c5b65d493baf949 (patch)
tree067c067ebdae3b8f7b00283413fe6a3271ab18ca /src/src_lyrics.c
parent85fb21cc2bb75cd207d770c6ee7567ddb8e09fd4 (diff)
downloadmpd-1cd28efa96dbc3d49a43d9b12c5b65d493baf949.tar.gz
mpd-1cd28efa96dbc3d49a43d9b12c5b65d493baf949.tar.xz
mpd-1cd28efa96dbc3d49a43d9b12c5b65d493baf949.zip
remove unused static functions
Also remove some commented code and unused function parameters.
Diffstat (limited to 'src/src_lyrics.c')
-rw-r--r--src/src_lyrics.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/src_lyrics.c b/src/src_lyrics.c
index 395a24b16..935fded16 100644
--- a/src/src_lyrics.c
+++ b/src/src_lyrics.c
@@ -146,10 +146,7 @@ int src_lyr_init ()
int get_lyr_by_src (int priority, char *artist, char *title)
{
if(src_lyr_stack->len == 0) return -1;
- //if (g_array_index (src_lyr_stack, src_lyr*, priority)->check_lyr() == 0)
- //{
g_array_index (src_lyr_stack, src_lyr*, priority)->get_lyr (artist, title);
- //}
return 0;
}
@@ -163,7 +160,6 @@ int src_lyr_load_plugin_file (const char *file)
src_lyr_plugin_register register_func;
src_lyr *new_src = malloc (sizeof (src_lyr));
new_src->module = g_module_open (path->str, G_MODULE_BIND_LAZY);
- //if (new_src->module == NULL) for (;;) fprintf (stderr, g_module_error());
if (!g_module_symbol (new_src->module, "register_me", (gpointer*) &register_func))
return -1;
new_src->register_src_lyr = register_func;