From: Chris Allegretta Date: Mon, 15 Jan 2001 20:26:38 +0000 (+0000) Subject: main(): Initialized kbinput to get around stupid compiler warning. X-Git-Tag: v0.9.99pre1~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=36939444929619997506d7348e6e7697da89d3f2;p=nano.git 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 --- 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)) {