Hi,
initialize vars to silence gcc warning

--- iup/iup/src/iup_flattabs.c  2017-09-04 18:44:26.000000000 -0300
+++ iup_dev/iup/src/iup_flattabs.c      2017-12-10 11:19:01.570274940 -0200
@@ -443,7 +443,7 @@
   int title_height = iFlatTabsGetTitleHeight(ih, &title_width, 1);
   int fixedwidth = iupAttribGetInt(ih, "FIXEDWIDTH");
   Ihandle* child;
-  int pos, horiz_alignment, vert_alignment, tab_x = 0;
+  int pos, horiz_alignment = 0, vert_alignment = 0, tab_x = 0;
   unsigned char line_r = 0, line_g = 0, line_b = 0;
   int show_close = iupAttribGetBoolean(ih, "SHOWCLOSE");
   int tab_highlighted = iupAttribGetInt(ih, "_IUPFTABS_HIGHLIGHTED");

------------------------------------------------------------------------------
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

Reply via email to