From 28baddb59f356236ad542ffcf77c25cf4d628e02 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Mon, 22 Aug 2016 06:47:28 -0300 Subject: [PATCH] kicad/pl-parse.c (process_obj): also initialize edx and edy We don't really need to, but valgrind complains about it. --- eeshow/kicad/pl-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeshow/kicad/pl-parse.c b/eeshow/kicad/pl-parse.c index abcfb01..45b32b3 100644 --- a/eeshow/kicad/pl-parse.c +++ b/eeshow/kicad/pl-parse.c @@ -257,7 +257,7 @@ static bool process_obj(struct pl_ctx *pl, const struct expr *e, obj->s = NULL; obj->repeat = 1; obj->x = obj->y = obj->ex = obj->ey = 0; - obj->dx = obj->dy = 0; + obj->dx = obj->dy = obj->edx = obj->edy = 0; obj->incrx = 0; obj->incry = 0; obj->incrlabel = 0;