From 36939444929619997506d7348e6e7697da89d3f2 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Mon, 15 Jan 2001 20:26:38 +0000 Subject: [PATCH] main(): Initialized kbinput to get around stupid compiler warning. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + nano.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 31a363e8..0c85e1a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -37,6 +37,7 @@ General main() - Alternate speller option no longer valid if DISABLE_SPELLER is active. (Rocco) + - Initialized kbinput to get around stupid compiler warning. nano_small_msg() - This function has been removed. All references now call nano_disabled_msg. (Rocco) diff --git a/nano.c b/nano.c index f1add813..be282806 100644 --- a/nano.c +++ b/nano.c @@ -1751,7 +1751,7 @@ int do_justify(void) return 1; #else int slen = 0; /* length of combined lines on one line. */ - int initial_y, kbinput; + int initial_y, kbinput = 0; filestruct *initial = NULL, *tmpjust = NULL, *cutbak, *tmptop, *tmpbot; if (empty_line(current->data)) { -- 2.39.5