mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-08-08 17:30:29 -04:00
Fix a couple of minor warnings from GCC.
This commit is contained in:
parent
a3c77690c7
commit
90aa1f14a7
6
ttxt.c
6
ttxt.c
@ -143,6 +143,7 @@ main(int argc, char **argv)
|
||||
printf("grestore\n");
|
||||
}
|
||||
printf("showpage\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
typedef struct vec {
|
||||
@ -325,9 +326,8 @@ emit_path()
|
||||
p = &points[i];
|
||||
if (p->next) {
|
||||
while (p->next) {
|
||||
printf(" %d %d %s %% %d\n", p->v.x, p->v.y,
|
||||
p == &points[i] ? "moveto" : "lineto",
|
||||
p - points);
|
||||
printf(" %d %d %s\n", p->v.x, p->v.y,
|
||||
p == &points[i] ? "moveto" : "lineto");
|
||||
p1 = p->next;
|
||||
p->prev = p->next = NULL;
|
||||
p = p1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user