changeset 4864:8eee8ee21025

Remove declaration & assignment of numsongs, the variable is unused. From code analysis, unique ID q3QDmA.
author Tony Vroon <chainsaw@gentoo.org>
date Sun, 19 Apr 2009 23:43:13 +0100
parents 4cfb5217560a
children f51f043d5e4c
files src/audlegacy/playlist.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);