Bläddra i källkod

iniialize global bottom explizit with NULL

Jan Klemkow 6 år sedan
förälder
incheckning
0734cb7680
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;