Mercurial > audlegacy
diff src/audacious/main.c @ 4644:23e712435e3e
Remove an unused variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 13 Jun 2008 16:47:20 +0300 |
parents | ca64cd387021 |
children | e4e7999a21bc |
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;