Suppress some warning in iplocallab.cc improcfun.cc

This commit is contained in:
Desmis
2017-04-26 14:15:05 +02:00
parent b2059f9527
commit fe014c3d89
2 changed files with 6 additions and 6 deletions

View File

@@ -4125,7 +4125,7 @@ void ImProcFunctions::Lab_Local (int call, int sp, float** shbuffer, LabImage *
float **bufchro = nullptr;
float **buflightslid = nullptr;
int bfh, bfw;
int bfh = 0.f, bfw = 0.f;
float adjustr = 1.0f;
@@ -5254,12 +5254,12 @@ void ImProcFunctions::Lab_Local (int call, int sp, float** shbuffer, LabImage *
float Chprov1 = sqrtBuffer[x];
sincosval.y = sincosyBuffer[x];
sincosval.x = sincosxBuffer[x];
float chr;
float chr = 0.f;
#else
float aa = transformed->a[y][x];
float bb = transformed->b[y][x];
float HH, chr;
float HH = 0.f, chr = 0.f;
if (needHH) { // only do expensive atan2 calculation if needed
HH = xatan2f (bb, aa);