Merge pull request #7257 from Beep6581/fix-warnings-5.12

Compiler warning fixes
This commit is contained in:
Lawrence37
2024-12-26 22:26:11 -08:00
committed by GitHub
20 changed files with 184 additions and 137 deletions

View File

@@ -224,7 +224,7 @@ void ImProcFunctions::ip_wavelet(LabImage * lab, LabImage * dst, int kall, const
{wiprof[2][0], wiprof[2][1], wiprof[2][2]}
};
const int imheight = lab->H, imwidth = lab->W;
int levwavL;
int levwavL = 0;
//Flat curve for H=f(H) in final touchup for guidedfilter
FlatCurve* wavguidCurve = new FlatCurve(params->wavelet.wavguidcurve); //curve H=f(H)
bool wavguidutili = false;
@@ -258,6 +258,8 @@ void ImProcFunctions::ip_wavelet(LabImage * lab, LabImage * dst, int kall, const
cp.complex = 0;
} else if (params->wavelet.complexmethod == "expert") {
cp.complex = 1;
} else {
cp.complex = 0;
}