Cppcheck: Fixed some issues found by Flössie during review of my changes
This commit is contained in:
@@ -1677,10 +1677,7 @@ SSEFUNCTION void ImProcFunctions::RGB_denoise(int kall, Imagefloat * src, Imagef
|
||||
}
|
||||
|
||||
delete labdn;
|
||||
|
||||
if (Lin) {
|
||||
delete Lin;
|
||||
}
|
||||
delete Lin;
|
||||
|
||||
}//end of tile row
|
||||
}//end of tile loop
|
||||
|
||||
@@ -276,7 +276,7 @@ float LCPMapper::calcVignetteFac(int x, int y) const
|
||||
+ 2.*aVig[0] * aVig[2] - 3.*param0Sqr * aVig[1]) * rsqr * rsqr));
|
||||
}
|
||||
|
||||
LCPProfile::LCPProfile(Glib::ustring fname)
|
||||
LCPProfile::LCPProfile(const Glib::ustring &fname)
|
||||
{
|
||||
const int BufferSize = 8192;
|
||||
char buf[BufferSize];
|
||||
|
||||
@@ -89,7 +89,7 @@ public:
|
||||
static const int MaxPersModelCount = 3000;
|
||||
LCPPersModel* aPersModel[MaxPersModelCount]; // Do NOT use std::list or something, it's buggy in GCC!
|
||||
|
||||
explicit LCPProfile(Glib::ustring fname);
|
||||
explicit LCPProfile(const Glib::ustring &fname);
|
||||
|
||||
void calcParams(int mode, float focalLength, float focusDist, float aperture, LCPModelCommon *pCorr1, LCPModelCommon *pCorr2, LCPModelCommon *pCorr3) const; // Interpolates between the persModels frames
|
||||
|
||||
|
||||
Reference in New Issue
Block a user