diff options
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r-- | engines/sci/sfx/core.cpp | 4 | ||||
-rw-r--r-- | engines/sci/sfx/iterator.cpp | 10 | ||||
-rw-r--r-- | engines/sci/sfx/mixer/soft.cpp | 4 |
3 files changed, 14 insertions, 4 deletions
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp index 786f80ab45..5555af4dfe 100644 --- a/engines/sci/sfx/core.cpp +++ b/engines/sci/sfx/core.cpp @@ -125,7 +125,8 @@ _freeze_time(sfx_state_t *self) } } - +#if 0 +// Unreferenced - removed static void _dump_playing_list(sfx_state_t *self, char *msg) { @@ -148,6 +149,7 @@ _dump_playing_list(sfx_state_t *self, char *msg) fprintf(stderr, "]\n"); } +#endif static void _dump_songs(sfx_state_t *self) diff --git a/engines/sci/sfx/iterator.cpp b/engines/sci/sfx/iterator.cpp index 78bbdf816b..a7e66497ea 100644 --- a/engines/sci/sfx/iterator.cpp +++ b/engines/sci/sfx/iterator.cpp @@ -799,7 +799,7 @@ _sci1_song_init(sci1_song_iterator_t *self) { sci1_sample_t *seeker; int last_time; - int offset = 0; + unsigned int offset = 0; self->channels_nr = 0; self->next_sample = 0; // self->device_id = 0x0c; @@ -947,6 +947,8 @@ _sci1_no_delta_time(sci1_song_iterator_t *self) return 1; } +#if 0 +// Unreferenced - removed static void _sci1_dump_state(sci1_song_iterator_t *self) { @@ -982,6 +984,7 @@ _sci1_dump_state(sci1_song_iterator_t *self) } sciprintf("------------------------------------------\n"); } +#endif #define COMMAND_INDEX_NONE -1 #define COMMAND_INDEX_PCM -2 @@ -1537,7 +1540,7 @@ _tee_read_next_command(tee_song_iterator_t *it, unsigned char *buf, if ((it->status & (TEE_LEFT_ACTIVE | TEE_RIGHT_ACTIVE)) != (TEE_LEFT_ACTIVE | TEE_RIGHT_ACTIVE)) { /* Not all are is active? */ - int which; + int which = 0; #ifdef DEBUG_TEE_ITERATOR fprintf(stderr, "\tRequesting transformation...\n"); #endif @@ -1742,6 +1745,8 @@ _tee_init(tee_song_iterator_t *it) it->children[TEE_RIGHT].it->init(it->children[TEE_RIGHT].it); } +#if 0 +// Unreferenced - removed static void _tee_free(tee_song_iterator_t *it) { @@ -1750,6 +1755,7 @@ _tee_free(tee_song_iterator_t *it) if (it->children[i].it && it->may_destroy) songit_free(it->children[i].it); } +#endif static void songit_tee_death_notification(tee_song_iterator_t *self, diff --git a/engines/sci/sfx/mixer/soft.cpp b/engines/sci/sfx/mixer/soft.cpp index d71567a209..d4ab7232bc 100644 --- a/engines/sci/sfx/mixer/soft.cpp +++ b/engines/sci/sfx/mixer/soft.cpp @@ -250,6 +250,8 @@ _mix_unsubscribe(sfx_pcm_mixer_t *self, sfx_pcm_feed_t *feed) BREAKPOINT(); } +#if 0 +// Unreferenced - removed static void mix_unsubscribe(sfx_pcm_mixer_t *self, sfx_pcm_feed_t *feed) { @@ -257,7 +259,7 @@ mix_unsubscribe(sfx_pcm_mixer_t *self, sfx_pcm_feed_t *feed) _mix_unsubscribe(self, feed); RELEASE_LOCK(); } - +#endif static void mix_exit(sfx_pcm_mixer_t *self) |