summaryrefslogtreecommitdiff
path: root/kicad/pl-parse.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 09:47:28 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-08-22 09:47:28 (GMT)
commita3e7ace137de58c7628222698ceb16248941220b (patch)
treed48dcdb84d4588c2d8337f229f92d27672b2565c /kicad/pl-parse.c
parent86bbde6852de4406e080337042b697fa58e50f30 (diff)
downloadeeshow-a3e7ace137de58c7628222698ceb16248941220b.zip
eeshow-a3e7ace137de58c7628222698ceb16248941220b.tar.gz
eeshow-a3e7ace137de58c7628222698ceb16248941220b.tar.bz2
kicad/pl-parse.c (process_obj): also initialize edx and edy
We don't really need to, but valgrind complains about it.
Diffstat (limited to 'kicad/pl-parse.c')
-rw-r--r--kicad/pl-parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kicad/pl-parse.c b/kicad/pl-parse.c
index abcfb01..45b32b3 100644
--- a/kicad/pl-parse.c
+++ b/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;