diff options
author | nicm <nicm> | 2018-06-11 11:14:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-06-11 11:14:10 +0000 |
commit | d0c992306d4a01804d3649648f8a1ef59cdda351 (patch) | |
tree | a7aabd5bb17c289f8a6d48cf32293dfafd7106f4 /grid.c | |
parent | e6cbeb4f38d5e38df1b6b9b46145c9a2b7dd11a1 (diff) | |
download | rtmux-d0c992306d4a01804d3649648f8a1ef59cdda351.tar.gz rtmux-d0c992306d4a01804d3649648f8a1ef59cdda351.tar.bz2 rtmux-d0c992306d4a01804d3649648f8a1ef59cdda351.zip |
Fix some compiler warnings; from Thomas Adam.
Diffstat (limited to 'grid.c')
-rw-r--r-- | grid.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |