mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-23 13:25:00 +02:00
sch2fig/fig.c (fig_label): initialize dx, dy
This commit is contained in:
parent
dd5f9d2128
commit
09bd2ca38d
@ -88,7 +88,7 @@ void fig_label(int x, int y, const char *s, int dir, int dim,
|
|||||||
.hor = 0,
|
.hor = 0,
|
||||||
.vert = text_min,
|
.vert = text_min,
|
||||||
};
|
};
|
||||||
int dx, dy;
|
int dx = 0, dy = 0;
|
||||||
|
|
||||||
switch (dir) {
|
switch (dir) {
|
||||||
case 0: /* right */
|
case 0: /* right */
|
||||||
|
Loading…
Reference in New Issue
Block a user