aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
diff options
context:
space:
mode:
authorLittleboy2012-09-05 08:09:42 -0400
committerLittleboy2012-09-05 20:18:25 -0400
commit751f5be785f2209915ce7bd7c1b28102746c4e9b (patch)
tree0e6e5344c6f99587eb6340c01972bd64c759ef89 /audio/softsynth
parent754a4bb8e422251b82175adef246d92bc33f83df (diff)
downloadscummvm-rg350-751f5be785f2209915ce7bd7c1b28102746c4e9b.tar.gz
scummvm-rg350-751f5be785f2209915ce7bd7c1b28102746c4e9b.tar.bz2
scummvm-rg350-751f5be785f2209915ce7bd7c1b28102746c4e9b.zip
AUDIO: Silence MSVC warning about un-initialized newIncrement variable
Diffstat (limited to 'audio/softsynth')
-rw-r--r--audio/softsynth/mt32/TVA.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/softsynth/mt32/TVA.cpp b/audio/softsynth/mt32/TVA.cpp
index c3be6db591..f3e3f7bbc7 100644
--- a/audio/softsynth/mt32/TVA.cpp
+++ b/audio/softsynth/mt32/TVA.cpp
@@ -274,7 +274,7 @@ void TVA::nextPhase() {
}
int newTarget;
- int newIncrement;
+ int newIncrement = 0;
int envPointIndex = phase;
if (!allLevelsZeroFromNowOn) {