Commit Diff


commit - 9a8a7402e6fe68618c8aaa33d2386964e10bd924
commit + 259cf35adb2f60cfcb4f26887963e1a74c649fb0
blob - e0d1622701c72cc416db7cee61b3fa4878827d5b
blob + 634112ef2667bf64b486afc4dbfe520a60165c29
--- telescope.c
+++ telescope.c
@@ -794,7 +794,7 @@ load_last_session(void)
 	size_t		 linesize = 0;
 	ssize_t		 linelen;
 	FILE		*session;
-	struct tab	*tab, *curr;
+	struct tab	*tab, *curr = NULL;
 
 	if ((session = fopen(session_file, "r")) == NULL) {
 		/* first time? */