r22450 by craig - Coverity 1350340 / 1350341

scribus-commit scribus-commit at lists.scribus.net
Mon Mar 26 21:57:57 UTC 2018


Author: craig
Date: Mon Mar 26 21:57:57 2018
New Revision: 22450

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22450
Log:
Coverity 1350340 / 1350341

Modified:
    trunk/Scribus/scribus/exif.cpp

Modified: trunk/Scribus/scribus/exif.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22450&path=/trunk/Scribus/scribus/exif.cpp
==============================================================================
--- trunk/Scribus/scribus/exif.cpp	(original)
+++ trunk/Scribus/scribus/exif.cpp	Mon Mar 26 21:57:57 2018
@@ -980,11 +980,11 @@
 	switch ( Orientation )
 	{  // notice intentional fallthroughs
 		case 2: M = flip; break;
-		case 4: M = flip;
+		case 4: M = flip; Q_FALLTHROUGH();
 		case 3: M.rotate ( 180 ); break;
-		case 5: M = flip;
+		case 5: M = flip; Q_FALLTHROUGH();
 		case 6: M.rotate ( 90 ); break;
-		case 7: M = flip;
+		case 7: M = flip; Q_FALLTHROUGH();
 		case 8: M.rotate ( 270 ); break;
 		default: break; // should never happen
 	}




More information about the scribus-commit mailing list