joe/joe-3.3-warnings.patch

11 lines
221 B
Diff

--- bw.c
+++ bw.c
@@ -206,6 +206,7 @@
#ifdef junk
P *tmp = 0;
HIGHLIGHT_STATE state;
+ memset((void*)&state,0,sizeof(HIGHLIGHT_STATE));
/* Screen y position of requested line */
int y = line-w->top->line+w->y;