nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 36939444929619997506d7348e6e7697da89d3f2
parent 4097379a264ff47a756ce184adf4b0feed6ab838
Author: Chris Allegretta <chrisa@asty.org>
Date:   Mon, 15 Jan 2001 20:26:38 +0000

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

Diffstat:
MChangeLog | 1+
Mnano.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 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 @@ -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)) {