Fix 'unterminated_case: The case for value 7U is not terminated by a 'break' statement' in jpeg plugin.
Reported by Coverity: CID 86499: Missing break in switch (MISSING_BREAK)
This commit is contained in:
committed by
Robert Osfield
parent
8851d548f9
commit
307001391f
@@ -920,6 +920,7 @@ class ReaderWriterJPEG : public osgDB::ReaderWriter
|
||||
osg::Vec3i(0, pOsgImage->t(), 0),
|
||||
osg::Vec3i(pOsgImage->s(), 0, 0),
|
||||
osg::Vec3i(0, 0, 1));
|
||||
break;
|
||||
case(8):
|
||||
OSG_INFO<<"EXIF_Orientation 8 (left side, bottom). rotate 270."<<std::endl;
|
||||
pOsgImage = osg::createImageWithOrientationConversion(pOsgImage.get(),
|
||||
|
||||
Reference in New Issue
Block a user