r21956 by craig - Coverity 1350591: Fix uninitialised variables

scribus-commit scribus-commit at lists.scribus.net
Fri Apr 21 16:23:46 UTC 2017


Author: craig
Date: Fri Apr 21 16:23:46 2017
New Revision: 21956

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21956
Log:
Coverity 1350591: Fix uninitialised variables

Modified:
    trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp

Modified: trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21956&path=/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp	(original)
+++ trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp	Fri Apr 21 16:23:46 2017
@@ -3152,12 +3152,12 @@
 	Object refObj, strObj;
 	GooString *fileName;
 	char *tmpBuf;
-	int tmpBufLen;
+	int tmpBufLen = 0;
 	int *codeToGID;
 	double *textMat;
 	double m11, m12, m21, m22, fontSize;
 	SplashCoord mat[4];
-	int n;
+	int n = 0;
 	int faceIndex = 0;
 	SplashCoord matrix[6];
 




More information about the scribus-commit mailing list