Fix two uninitialized variables

This commit is contained in:
Flössie 2020-06-19 10:55:48 +02:00
parent c607b58b18
commit 09fab8de0e
3 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,9 @@ using namespace rtengine;
using namespace rtengine::procparams;
BayerProcess::BayerProcess () : FoldableToolPanel(this, "bayerprocess", M("TP_RAW_LABEL"), options.prevdemo != PD_Sidecar)
BayerProcess::BayerProcess () :
FoldableToolPanel(this, "bayerprocess", M("TP_RAW_LABEL"), options.prevdemo != PD_Sidecar),
oldMethod(-1)
{
auto m = ProcEventMapper::getInstance();

View File

@ -530,6 +530,7 @@ void ParamsEdited::set(bool v)
wavelet.sigma = v;
wavelet.offset = v;
wavelet.lowthr = v;
wavelet.rescon = v;
wavelet.resconH = v;
wavelet.reschro = v;
wavelet.resblur = v;

View File

@ -1080,7 +1080,6 @@ struct WaveletParamsEdited {
bool labgridBLow;
bool labgridAHigh;
bool labgridBHigh;
};
struct DirPyrEqualizerParamsEdited {