Cppcheck: Fixed some issues found by Flössie during review of my changes

This commit is contained in:
heckflosse
2016-10-04 23:50:44 +02:00
parent 566d4c9822
commit e82b60cd03
9 changed files with 9 additions and 12 deletions

View File

@@ -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];