aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-10-06 22:33:54 +0000
committerMax Horn2003-10-06 22:33:54 +0000
commit8c9dc47ee1f505f68834c55e12d046afaf89dc72 (patch)
tree7ed12c8601cf6124f026945849a6046c2bb157d8
parent1ebb7cce53723900b0dde2f93a5ee9f0ae563730 (diff)
downloadscummvm-rg350-8c9dc47ee1f505f68834c55e12d046afaf89dc72.tar.gz
scummvm-rg350-8c9dc47ee1f505f68834c55e12d046afaf89dc72.tar.bz2
scummvm-rg350-8c9dc47ee1f505f68834c55e12d046afaf89dc72.zip
fixed warnings
svn-id: r10646
-rw-r--r--backends/midi/ym2612.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp
index 067f23b354..130168459e 100644
--- a/backends/midi/ym2612.cpp
+++ b/backends/midi/ym2612.cpp
@@ -333,9 +333,9 @@ void Operator2612::nextTick(const int *phasebuf, int *outbuf, int buflen) {
_state = _s_decaying;
}
- int32 levelIncrement;
- int32 target;
- State next_state;
+ int32 levelIncrement = 0;
+ int32 target = 0;
+ State next_state = _s_ready;
const int32 zero_level = ((int32)0x7f << 15);
const int phaseIncrement = (_multiple > 0) ? (_frequency * _multiple) : (_frequency / 2);