Cppcheck: Fixed another bunch of warnings

This commit is contained in:
heckflosse
2016-10-13 01:34:02 +02:00
parent e98bd47487
commit 172ab63b85
11 changed files with 44 additions and 44 deletions

View File

@@ -107,7 +107,7 @@ public:
static ImageIO* resizeToSameType(int nw, int nh, TypeInterpolation interp, ImageIO* srcImg)
{
ImageIO* imgPtr;
ImageIO* imgPtr = nullptr;
if (srcImg->getType() == sImage8) {
Image8* castedSrcImg = static_cast<Image8*>(srcImg);