Mercurial > audlegacy
changeset 3172:959fba26290d trunk
Remove unnecessary switch statement.
author | William Pitcock <nenolod@atheme-project.org> |
---|---|
date | Thu, 26 Jul 2007 14:59:29 -0500 |
parents | 93d2cda7e072 |
children | 21c6e57af470 1596dcb77acd |
files | src/audacious/ui_main.c |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_main.c Thu Jul 26 14:25:23 2007 -0500 +++ b/src/audacious/ui_main.c Thu Jul 26 14:59:29 2007 -0500 @@ -2984,14 +2984,9 @@ mainwin_idle_func(gpointer data) { static gint count = 0; - gint time = 0; - - switch((time = playback_get_time())) - { - default: - input_update_vis(time); - /* nothing at this time */ - } + gint time = playback_get_time(); + + input_update_vis(time); GDK_THREADS_ENTER();