Index: trunk/src/obj_subc.c =================================================================== --- trunk/src/obj_subc.c (revision 31333) +++ trunk/src/obj_subc.c (revision 31334) @@ -806,7 +806,7 @@ textlist_foreach(&ly->Text, &it, text) { if (mirr) { - pcb_text_t t; + pcb_text_t t = {0}; t = *text; t.X = PCB_CSWAP_X(text->X, w, mirr); t.Y = PCB_CSWAP_Y(text->Y, h, mirr); Index: trunk/src/stub_draw.c =================================================================== --- trunk/src/stub_draw.c (revision 31333) +++ trunk/src/stub_draw.c (revision 31334) @@ -33,7 +33,7 @@ /****** common code ******/ void dummy_draw_text(pcb_draw_info_t *info, rnd_hid_gc_t gc, const char *str) { - pcb_text_t t; + pcb_text_t t = {0}; rnd_render->set_color(gc, rnd_color_red);