diff options
| author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-10-31 13:43:50 +0000 |
|---|---|---|
| committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-10-31 13:43:50 +0000 |
| commit | 7f79564abc7b0a7afce8c4519c69684d86d57829 (patch) | |
| tree | 9ca5f4576f2f76c8306398816622ce86304ef733 /apps/tagtree.c | |
| parent | b41b1b3141e87491826749c0e074b18ea5d25d77 (diff) | |
| download | rockbox-7f79564abc7b0a7afce8c4519c69684d86d57829.zip rockbox-7f79564abc7b0a7afce8c4519c69684d86d57829.tar.gz rockbox-7f79564abc7b0a7afce8c4519c69684d86d57829.tar.bz2 rockbox-7f79564abc7b0a7afce8c4519c69684d86d57829.tar.xz | |
Accept FS#8053 by Bertrik Sikken: playback.c and mpeg.c simplification by removal of last_track argument in track_(un)buffer callback.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15384 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tagtree.c')
| -rw-r--r-- | apps/tagtree.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c index c0d9f0f..60bdfb2 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -633,10 +633,9 @@ static int compare(const void *p1, const void *p2) return strncasecmp(e1->name, e2->name, MAX_PATH); } -static void tagtree_buffer_event(struct mp3entry *id3, bool last_track) +static void tagtree_buffer_event(struct mp3entry *id3) { (void)id3; - (void)last_track; /* Do not gather data unless proper setting has been enabled. */ if (!global_settings.runtimedb) @@ -663,9 +662,8 @@ static void tagtree_buffer_event(struct mp3entry *id3, bool last_track) tagcache_search_finish(&tcs); } -static void tagtree_unbuffer_event(struct mp3entry *id3, bool last_track) +static void tagtree_unbuffer_event(struct mp3entry *id3) { - (void)last_track; long playcount; long playtime; long lastplayed; |