diff options
author | Max Kellermann <max@duempel.org> | 2008-09-17 12:29:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-17 12:29:07 +0200 |
commit | 75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d (patch) | |
tree | 5fb6924e98b6882e8a63771578e56c7c156101a4 /src/screen_file.c | |
parent | 9e7dda69f7951f678a1b31d693dba90199d17248 (diff) | |
download | mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.tar.gz mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.tar.xz mpd-75348aad7cbddb9ef736a0ecca9e3ddfb8b75f8d.zip |
make several functions return void
Diffstat (limited to '')
-rw-r--r-- | src/screen_file.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/screen_file.c b/src/screen_file.c index 16f935242..d40c8edc9 100644 --- a/src/screen_file.c +++ b/src/screen_file.c @@ -232,7 +232,7 @@ change_directory(mpd_unused screen_t *screen, mpdclient_t *c, } else return -1; - filelist = mpdclient_filelist_free(filelist); + mpdclient_filelist_free(filelist); filelist = mpdclient_filelist_get(c, path); sync_highlights(c, filelist); list_window_check_selected(lw, filelist->length); @@ -575,9 +575,9 @@ static void browse_exit(void) { if( filelist ) - filelist = mpdclient_filelist_free(filelist); - lw = list_window_free(lw); - lw_state = list_window_free_state(lw_state); + mpdclient_filelist_free(filelist); + list_window_free(lw); + list_window_free_state(lw_state); } static void |