From f8ddf31bfb5bfbae875e686bc767cfdfec737fa0 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Fri, 9 Jan 2004 22:38:09 +0000 Subject: [PATCH] remove now-unnecessary initialization of kbinput in main() git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1612 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + src/nano.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fcf895e2..736ff563 100644 --- a/ChangeLog +++ b/ChangeLog @@ -75,6 +75,7 @@ CVS code - - Remove unused variable option_index. (DLR) - Fix omission of NANO_NO_KEY in the shortcut list scanning code. (DLR) + - Remove now-unnecessary initialization of kbinput. (DLR) - nano.h: - Comment additions and cosmetic tweaks. (DLR) - search.c: diff --git a/src/nano.c b/src/nano.c index 484edc5f..aa933b9f 100644 --- a/src/nano.c +++ b/src/nano.c @@ -3055,7 +3055,7 @@ int main(int argc, char *argv[]) int fill_flag_used = 0; /* Was the fill option used? */ const shortcut *s; int keyhandled = 0; /* Have we handled the keystroke yet? */ - int kbinput = -1; /* Input from keyboard */ + int kbinput; /* Input from keyboard */ int meta; #ifndef NANO_SMALL -- 2.39.5