[rhythmbox] rhythmdb: Remove unused computation



commit 12c6f9b8e179e2f18ee2806adf09bc03b3ba531d
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 5 03:36:05 2011 +0000

    rhythmdb: Remove unused computation

 rhythmdb/rhythmdb.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/rhythmdb/rhythmdb.c b/rhythmdb/rhythmdb.c
index a789c2c..66df7c9 100644
--- a/rhythmdb/rhythmdb.c
+++ b/rhythmdb/rhythmdb.c
@@ -4464,7 +4464,7 @@ rhythmdb_compute_status_normal (gint n_songs,
 				const char *singular,
 				const char *plural)
 {
-	long days, hours, minutes, seconds;
+	long days, hours, minutes;
 	char *songcount = NULL;
 	char *time = NULL;
 	char *size_str = NULL;
@@ -4478,7 +4478,6 @@ rhythmdb_compute_status_normal (gint n_songs,
 	days    = duration / (60 * 60 * 24);
 	hours   = (duration / (60 * 60)) - (days * 24);
 	minutes = (duration / 60) - ((days * 24 * 60) + (hours * 60));
-	seconds = duration % 60;
 
 	minutefmt = ngettext ("%ld minute", "%ld minutes", minutes);
 	hourfmt = ngettext ("%ld hour", "%ld hours", hours);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]