Commit Diff


commit - 4745c100fb3405b594f298161daf9a72bd7d8174
commit + 0ce8aa3ef6cc677ab907e74becbe9fce44fbe3eb
blob - e55decd47096ace54c207171f55bd45b5e98f92f
blob + 706151b3bffae902181ce00ef2bb4a66e77bc8e1
--- minibuffer.c
+++ minibuffer.c
@@ -368,11 +368,13 @@ populate_compl_buffer(complfn *fn, void *data)
 	struct line	*l;
 	struct buffer	*b;
 	struct parser	*p;
-	void		*linedata = NULL;
+	void		*linedata;
 
 	b = &ministate.compl.buffer;
 	p = &b->page;
 
+	linedata = NULL;
+	descr = NULL;
 	while ((s = fn(&data, &linedata, &descr)) != NULL) {
 		if ((l = calloc(1, sizeof(*l))) == NULL)
 			abort();