Fix some compiler warnings; from Thomas Adam.

pull/1380/head
nicm 2018-06-11 11:14:10 +00:00
parent e6cbeb4f38
commit d0c992306d
1 changed files with 2 additions and 2 deletions

4
grid.c
View File

@ -984,9 +984,9 @@ static void
grid_reflow_join(struct grid *target, struct grid *gd, u_int sx, u_int yy,
u_int width, u_int *cy, int already)
{
struct grid_line *gl, *from;
struct grid_line *gl, *from = NULL;
struct grid_cell gc;
u_int lines, want, left, i, to, line;
u_int lines, left, i, to, line, want = 0;
u_int at;
int wrapped = 1;