diff options
author | David Robillard <d@drobilla.net> | 2011-09-23 22:27:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-09-23 22:27:56 +0000 |
commit | 4d49ac00947443a2cc259119b175b276cdbbf91f (patch) | |
tree | 7149488a7eff6f66ea8c5f669186f332fdf8a9f0 /src | |
parent | 755ca98a35d40a2123e2768df527a842468790a6 (diff) | |
download | mda.lv2-4d49ac00947443a2cc259119b175b276cdbbf91f.tar.gz mda.lv2-4d49ac00947443a2cc259119b175b276cdbbf91f.tar.bz2 mda.lv2-4d49ac00947443a2cc259119b175b276cdbbf91f.zip |
Fix use of uninitialized value.
Remove unused member variables.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/mdala.lv2@3481 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/mdaBandisto.cpp | 1 | ||||
-rw-r--r-- | src/mdaBandisto.h | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mdaBandisto.cpp b/src/mdaBandisto.cpp index d5005b8..82282ca 100644 --- a/src/mdaBandisto.cpp +++ b/src/mdaBandisto.cpp @@ -79,6 +79,7 @@ mdaBandisto::mdaBandisto(audioMasterCallback audioMaster) : AudioEffectX(audioMa } fi1 = (float)pow(10.0,fParam2 - 1.70); fo1=(float)(1.0 - fi1); fi2 = (float)pow(10.0,fParam3 - 1.05); fo2=(float)(1.0 - fi2); + fb1 = fb2 = fb3 = 0.0f; } mdaBandisto::~mdaBandisto() diff --git a/src/mdaBandisto.h b/src/mdaBandisto.h index 2e8463a..8d3b753 100644 --- a/src/mdaBandisto.h +++ b/src/mdaBandisto.h @@ -47,9 +47,9 @@ protected: float fParam1, fParam2, fParam3, fParam4; float fParam5, fParam6, fParam7, fParam8; float fParam9, fParam10; - float gain1, driv1, trim1; - float gain2, driv2, trim2; - float gain3, driv3, trim3; + float driv1, trim1; + float driv2, trim2; + float driv3, trim3; float fi1, fb1, fo1, fi2, fb2, fo2, fb3, slev; int valve; char programName[32]; |