+ fix various warnings

This commit is contained in:
wmayer
2015-08-29 22:05:09 +02:00
parent 1a12d109e9
commit cb16fec6bb
25 changed files with 55 additions and 40 deletions

View File

@@ -60,7 +60,7 @@ QtCoinCompatibility::SbImageToQImage(const SbImage & sbimage, QImage & img)
"Implementation not tested for 3 colors or more"
);
}
QImage::Format format;
QImage::Format format=QImage::Format_Invalid;
if (nc==3||nc==4) {
format=QImage::Format_RGB32;
}