r23758 by jghali - Fix coverity 1350804: Uninitialized scalar field

scribus-commit scribus-commit at lists.scribus.net
Mon May 11 11:57:47 UTC 2020


Author: jghali
Date: Mon May 11 11:57:47 2020
New Revision: 23758

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23758
Log:
Fix coverity 1350804: Uninitialized scalar field

Modified:
    trunk/Scribus/scribus/plugins/import/ai/importai.h

Modified: trunk/Scribus/scribus/plugins/import/ai/importai.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23758&path=/trunk/Scribus/scribus/plugins/import/ai/importai.h
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ai/importai.h	(original)
+++ trunk/Scribus/scribus/plugins/import/ai/importai.h	Mon May 11 11:57:47 2020
@@ -178,7 +178,7 @@
 	double meshNode2Control2X = 0.0, meshNode2Control2Y = 0.0;
 	double meshNode3PointX = 0.0, meshNode3PointY = 0.0;
 	double meshNode3Control1X = 0.0, meshNode3Control1Y = 0.0;
-	double meshNode3Control2X, meshNode3Control2Y;
+	double meshNode3Control2X = 0.0, meshNode3Control2Y = 0.0;
 	double meshNode4PointX = 0.0, meshNode4PointY = 0.0;
 	double meshNode4Control1X = 0.0, meshNode4Control1Y = 0.0;
 	double meshNode4Control2X = 0.0, meshNode4Control2Y = 0.0;




More information about the scribus-commit mailing list