Evas textblock: Fixed cond jump depends on uninit value.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 1 Aug 2011 08:21:05 +0000 (08:21 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 1 Aug 2011 08:21:05 +0000 (08:21 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61939 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 88af629..ec3122a 100644 (file)
@@ -2168,6 +2168,7 @@ _layout_format_pop(Ctxt *c, const char *format)
                   /* FIXME: Actually do something with the new acquired padding,
                    * the can be different and affect our padding! */
                   Evas_Coord style_pad_l, style_pad_r, style_pad_t, style_pad_b;
+                  style_pad_l = style_pad_r = style_pad_t = style_pad_b = 0;
                   redo_nodes = eina_list_remove_list(redo_nodes, i);
                   fmt = eina_list_data_get(c->format_stack);
                   _layout_do_format(c->obj, c, &fmt, fnode,