Hi,
CID 210613 (#2 of 2): Uninitialized scalar variable (UNINIT)
--- a\srcglcontrols\iup_gldraw.c Thu Aug 04 14:58:16 2016
+++ b\srcglcontrols\iup_gldraw.c Tue Jan 16 22:41:14 2018
@@ -327,8 +327,7 @@
void iupGLDrawArrow(Ihandle *ih, int x, int y, int size, const char* color,
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_gldraw.patch
Description: iup_gldraw.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
