Fixed a lot of issues reported by cppcheck 1.78

This commit is contained in:
heckflosse
2017-04-08 22:41:46 +02:00
parent 73e14702dd
commit 6e55f6bab5
41 changed files with 226 additions and 254 deletions

View File

@@ -28,12 +28,6 @@ PipetteBuffer::PipetteBuffer(::EditDataProvider *dataProvider) :
PipetteBuffer::~PipetteBuffer()
{
flush();
#ifndef NDEBUG
imgFloatBuffer = (Imagefloat*)(0xbaadf00d);
#endif
#ifndef NDEBUG
LabBuffer = (LabImage*)(0xbaadf00d);
#endif
}
void PipetteBuffer::createBuffer(int width, int height)