From 97d7223bcabcfe8c12ed4cd07371e1c3887c4006 Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Mon, 6 Oct 2003 01:08:38 +0000 Subject: Fix compiler warnings svn-id: r10626 --- backends/midi/ym2612.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'backends') diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp index c3b73156b2..2f7e18c715 100644 --- a/backends/midi/ym2612.cpp +++ b/backends/midi/ym2612.cpp @@ -204,8 +204,8 @@ _lastOutput (0), _feedbackLevel (0), _detune (0), _multiple (1), -_specifiedTotalLevel (127), _keyScale (0), +_specifiedTotalLevel (127), _specifiedAttackRate (0), _specifiedDecayRate (0), _specifiedSustainRate (0), @@ -757,9 +757,6 @@ void MidiDriver_YM2612::premix_proc(void *param, int16 *buf, uint len) { void MidiDriver_YM2612::generate_samples(int16 *data, int len) { int step; - int16 *origData = data; - uint origLen = len; - do { step = len; if (step > (_next_tick >> FIXP_SHIFT)) -- cgit v1.2.3