Преглед изворни кода

iniialize global bottom explizit with NULL

Jan Klemkow пре 6 година
родитељ
комит
0734cb7680
1 измењених фајлова са 1 додато и 1 уклоњено
  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;