# HG changeset patch # User Tony Vroon # Date 1240180993 -3600 # Node ID 8eee8ee21025798c54be9f8340ca0a3b477fa86f # Parent 4cfb5217560a07f5b2a28e439e68cd0a90b2015a Remove declaration & assignment of numsongs, the variable is unused. From code analysis, unique ID q3QDmA. diff -r 4cfb5217560a -r 8eee8ee21025 src/audlegacy/playlist.c --- a/src/audlegacy/playlist.c Sun Apr 19 23:39:14 2009 +0100 +++ b/src/audlegacy/playlist.c Sun Apr 19 23:43:13 2009 +0100 @@ -2403,7 +2403,6 @@ playlist_generate_shuffle_list_nolock(Playlist *playlist) { GList *node; - gint numsongs; if (!cfg.shuffle || !playlist) return; @@ -2416,7 +2415,6 @@ } playlist->shuffle = playlist_shuffle_list(playlist, g_list_copy(playlist->entries)); - numsongs = g_list_length(playlist->shuffle); if (playlist->position) { gint i = g_list_index(playlist->shuffle, playlist->position);