From d9c4ee9376bde0a744ceae9fe6536664ffa08ac3 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 9 Mar 2010 05:03:38 +0000 Subject: Initialise 'releaseAdd' to avoid a Valgrind warning in Write20() when the emulator is initialised. svn-id: r48214 --- sound/softsynth/opl/dbopl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'sound') diff --git a/sound/softsynth/opl/dbopl.cpp b/sound/softsynth/opl/dbopl.cpp index 38789ffc41..49a5993d24 100644 --- a/sound/softsynth/opl/dbopl.cpp +++ b/sound/softsynth/opl/dbopl.cpp @@ -618,6 +618,7 @@ Operator::Operator() { currentLevel = ENV_MAX; totalLevel = ENV_MAX; volume = ENV_MAX; + releaseAdd = 0; } /* -- cgit v1.2.3