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

@@ -755,8 +755,8 @@ BENCHFUN
int min_numblox_W = ceil((static_cast<float>((MIN(imwidth, ((numtiles_W - 1) * tileWskip) + tilewidth)) - ((numtiles_W - 1) * tileWskip))) / (offset)) + 2 * blkrad;
// these are needed only for creation of the plans and will be freed before entering the parallel loop
fftwf_plan plan_forward_blox[2];
fftwf_plan plan_backward_blox[2];
fftwf_plan plan_forward_blox[2] = {};
fftwf_plan plan_backward_blox[2] = {};
if (denoiseLuminance) {
float *Lbloxtmp = reinterpret_cast<float*>(fftwf_malloc(max_numblox_W * TS * TS * sizeof(float)));