From a16e4e96c0e959dbfe541752eb442c39d3c00810 Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Sat, 5 Jan 2002 18:59:54 +0000
Subject: [PATCH] - winio.c:statusq()  - Initialize "list"

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@977 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 ChangeLog | 2 ++
 winio.c   | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index a94017d5..d8a878f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -43,6 +43,8 @@ CVS code -
 	- Get rid of that annoying reversed line when color is on! :)
   edit_add()
 	- Little fixes to let color highlights not bleed onto the next line.
+  statusq()
+	- Initialize "list".
 - m4/gettext.m4:
 	- Back down to 1.1.3 version.
 - faq.html:
diff --git a/winio.c b/winio.c
index d1371ada..6ac8799d 100644
--- a/winio.c
+++ b/winio.c
@@ -1194,7 +1194,7 @@ int statusq(int tabs, shortcut s[], int slen, char *def, char *msg, ...)
     int ret;
 
 #ifndef DISABLE_TABCOMP
-    int list;
+    int list = 0;
 #endif
 
     bottombars(s, slen);
-- 
GitLab