# HG changeset patch # User William Pitcock # Date 1185479969 18000 # Node ID 959fba26290d314dfee7ac883d83e936083ad388 # Parent 93d2cda7e072488d9c9b920f3942037f1d228ebd Remove unnecessary switch statement. diff -r 93d2cda7e072 -r 959fba26290d src/audacious/ui_main.c --- 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();