Mercurial > audlegacy
changeset 4644:23e712435e3e
Remove an unused variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 13 Jun 2008 16:47:20 +0300 |
parents | 4eb5a651bbc4 |
children | e36c207de2c1 |
files | src/audacious/main.c |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/main.c Fri Jun 13 16:44:48 2008 +0300 +++ b/src/audacious/main.c Fri Jun 13 16:47:20 2008 +0300 @@ -563,9 +563,8 @@ load_extra_playlist(const gchar * path, const gchar * basename, gpointer def) { - Playlist *playlist, *deflist = (Playlist *)def; - - playlist = playlist_new(); + Playlist *playlist = playlist_new(); + if (!playlist) { g_warning("Couldn't create new playlist for %s / %s\n", path, basename); return FALSE;