r20837 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 31 01:06:59 UTC 2016


Author: jghali
Date: Sun Jan 31 01:06:59 2016
New Revision: 20837

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20837
Log:
coverity #1350628: uninitialized scalar field

Modified:
    trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp

Modified: trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20837&path=/trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp
==============================================================================
--- trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp	(original)
+++ trunk/Scribus/scribus/imagedataloaders/scimgdataloader_tiff.cpp	Sun Jan 31 01:06:59 2016
@@ -26,6 +26,9 @@
 
 ScImgDataLoader_TIFF::ScImgDataLoader_TIFF(void) : ScImgDataLoader()
 {
+	m_photometric = PHOTOMETRIC_MINISBLACK;
+	m_samplesperpixel = 72;
+
 	initSupportedFormatList();
 }
 




More information about the scribus-commit mailing list