summaryrefslogtreecommitdiff
path: root/src/dbUtils.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-01-26 12:46:21 +0000
committerEric Wong <normalperson@yhbt.net>2008-01-26 12:46:21 +0000
commit07adb14e3c4daa8b1e6ebc69e54128b38b014d30 (patch)
tree7d22b4b2eb31a9bf46cf648731fe1370005ab1c9 /src/dbUtils.c
parent28008e697720bb2b11989bb887eb468b91409b1a (diff)
fixed -Wshadow warnings
Signed-off-by: Eric Wong <normalperson@yhbt.net> git-svn-id: https://svn.musicpd.org/mpd/trunk@7143 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/dbUtils.c')
-rw-r--r--src/dbUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index f83ae4c21..d03854d5d 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -201,10 +201,10 @@ static int directoryPrintSongInfo(int fd, Song * song, void *data)
static int sumSongTime(int fd, Song * song, void *data)
{
- unsigned long *time = (unsigned long *)data;
+ unsigned long *sum_time = (unsigned long *)data;
if (song->tag && song->tag->time >= 0)
- *time += song->tag->time;
+ *sum_time += song->tag->time;
return 0;
}