# HG changeset patch # User Matti Hamalainen # Date 1352212446 -7200 # Node ID 0995fa2334621d391dd7e5f6af5fa2849b269886 # Parent 40eb0327c427e5fc7d7e5504231370fae2ace409 Remove useless state variable. diff -r 40eb0327c427 -r 0995fa233462 src/xs_player.h --- a/src/xs_player.h Tue Nov 06 15:11:38 2012 +0200 +++ b/src/xs_player.h Tue Nov 06 16:34:06 2012 +0200 @@ -33,8 +33,7 @@ void *internal; /* SID-emulation internal engine data */ XSEngine *engine; /* Selected player engine */ gboolean isError, - isPlaying, - isInitialized; + isPlaying; gint currSong, /* Current sub-tune */ lastTime; diff -r 40eb0327c427 -r 0995fa233462 src/xs_sidplay1.cc --- a/src/xs_sidplay1.cc Tue Nov 06 15:11:38 2012 +0200 +++ b/src/xs_sidplay1.cc Tue Nov 06 16:34:06 2012 +0200 @@ -289,8 +289,6 @@ return FALSE; } - state->isInitialized = TRUE; - return sidEmuInitializeSong(*engine->emu, *engine->tune, state->currSong); } @@ -317,7 +315,6 @@ { XSSIDPlay1 *engine; assert(state); - state->isInitialized = FALSE; engine = (XSSIDPlay1 *) state->internal; if (!engine) return FALSE; diff -r 40eb0327c427 -r 0995fa233462 src/xs_sidplay2.cc --- a/src/xs_sidplay2.cc Tue Nov 06 15:11:38 2012 +0200 +++ b/src/xs_sidplay2.cc Tue Nov 06 16:34:06 2012 +0200 @@ -465,8 +465,6 @@ return FALSE; } - state->isInitialized = TRUE; - return TRUE; } @@ -492,8 +490,6 @@ { XSSIDPlay2 *engine = (XSSIDPlay2 *) state->internal; - state->isInitialized = FALSE; - if (!engine) return FALSE;