summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 41ff25c)
raw | patch | inline | side by side (parent: 41ff25c)
author | Max Kellermann <max@duempel.org> | |
Sat, 10 Oct 2009 16:26:09 +0000 (18:26 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 10 Oct 2009 16:26:09 +0000 (18:26 +0200) |
It's unused.
src/screen_artist.c | patch | blob | history |
diff --git a/src/screen_artist.c b/src/screen_artist.c
index a1ba4691a37e7f2481dd5ea2e7b84ca1e1a34ec1..57d99994e696e1962792952a5e07d345813a290a 100644 (file)
--- a/src/screen_artist.c
+++ b/src/screen_artist.c
}
static void
-free_lists(G_GNUC_UNUSED struct mpdclient *c)
+free_lists(void)
{
if (artist_list != NULL) {
string_array_free(artist_list);
}
static void
-free_state(struct mpdclient *c)
+free_state(void)
{
g_free(artist);
g_free(album);
artist = NULL;
album = NULL;
- free_lists(c);
+ free_lists();
}
static void
open_artist_list(struct mpdclient *c)
{
- free_state(c);
+ free_state();
mode = LIST_ARTISTS;
load_artist_list(c);
{
assert(_artist != NULL);
- free_state(c);
+ free_state();
mode = LIST_ALBUMS;
artist = _artist;
assert(_artist != NULL);
assert(_album != NULL);
- free_state(c);
+ free_state();
mode = LIST_SONGS;
artist = _artist;
static void
reload_lists(struct mpdclient *c)
{
- free_lists(c);
+ free_lists();
switch (mode) {
case LIST_ARTISTS:
static void
screen_artist_quit(void)
{
- free_state(NULL);
+ free_state();
list_window_free(browser.lw);
}