From 28bc3ff1c66f5b35f140f86f59596ffbfcac580a Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Wed, 14 May 2008 21:15:02 -0500 Subject: [PATCH] Minor cleanup. --- Timeline/LASH_Client.C | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Timeline/LASH_Client.C b/Timeline/LASH_Client.C index 982ec7c..6f15ed4 100644 --- a/Timeline/LASH_Client.C +++ b/Timeline/LASH_Client.C @@ -65,28 +65,24 @@ LASH_Client::poll ( void ) switch ( lash_event_get_type( e ) ) { case LASH_Save_File: - { handle_save_file( name ); lash_send_event( _client, lash_event_new_with_type( LASH_Save_File ) ); break; - - } case LASH_Restore_File: - { if ( ! handle_restore_file( name ) ) /* FIXME: should we tell lash that we couldn't load the song? */; lash_send_event( _client, lash_event_new_with_type( LASH_Restore_File ) ); break; - } case LASH_Quit: handle_quit(); break; default: WARNING( "unhandled LASH event" ); + break; } lash_event_destroy( e );