Browse Source

iniialize global bottom explizit with NULL

Jan Klemkow 6 years ago
parent
commit
0734cb7680
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scroll.c

+ 1 - 1
scroll.c

@@ -49,7 +49,7 @@ struct line {
 	size_t size;
 	size_t len;
 	char *buf;
-} *bottom;
+} *bottom = NULL;
 
 pid_t child;
 int mfd;