Hi, Issue found by Coverity Scan. CID 210513 (#1 of 1): Uninitialized scalar variable (UNINIT)
--- a\src\iup_draw.c Tue May 16 16:22:56 2017
+++ b\src\iup_draw.c Tue Jan 16 22:59:52 2018
@@ -561,8 +561,7 @@
void iupFlatDrawArrow(IdrawCanvas* dc, int x, int y, int size, const char*
color, const char* bgcolor, int active, int dir)
{
- int points[6];
-
+ int points[6] = {0};
int off1 = iupRound((double)size * 0.13);
int off2 = iupRound((double)size * 0.87);
int half = size / 2;
Best.
Ranier
iup_draw.patch
Description: iup_draw.patch
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
