aboutsummaryrefslogtreecommitdiffstats
path: root/src/player_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-11 12:52:51 +0200
committerMax Kellermann <max@duempel.org>2008-10-11 12:52:51 +0200
commit42409a35e2468f13a03d23417f73730f1f8e41d5 (patch)
tree50e4ac1cd81ad5b76f64a60996f748b19e8e74cb /src/player_control.c
parentdd7711d86c502c8d302b791d19a836360e758e12 (diff)
downloadmpd-42409a35e2468f13a03d23417f73730f1f8e41d5.tar.gz
mpd-42409a35e2468f13a03d23417f73730f1f8e41d5.tar.xz
mpd-42409a35e2468f13a03d23417f73730f1f8e41d5.zip
player: removed player_control.fileTime
This variable is superfluous, it is only used to copy its value to player_control.totalTime. Since the original source of this value (song->tag->time) will still be available at this point, we can safely remove fileTime.
Diffstat (limited to 'src/player_control.c')
-rw-r--r--src/player_control.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/player_control.c b/src/player_control.c
index bab119684..0c4063693 100644
--- a/src/player_control.c
+++ b/src/player_control.c
@@ -50,7 +50,6 @@ set_current_song(struct song *song)
assert(song != NULL);
assert(song->url != NULL);
- pc.fileTime = song->tag ? song->tag->time : 0;
pc.next_song = song;
}