Fix some coverity issues

This commit is contained in:
heckflosse
2017-06-18 00:10:31 +02:00
parent 4d3b717071
commit 655d66a859
10 changed files with 11 additions and 13 deletions

View File

@@ -822,7 +822,7 @@ void Thumbnail::_loadThumbnail(bool firstTrial)
tpp->init ();
}
if (!initial_ && tpp) {
if (!initial_) {
tw = tpp->getImageWidth (getProcParamsU(), th, imgRatio); // this might return 0 if image was just building
}
}