From: David Lawrence Ramsey Date: Fri, 9 Jan 2004 22:38:09 +0000 (+0000) Subject: remove now-unnecessary initialization of kbinput in main() X-Git-Tag: v1.3.1~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f8ddf31bfb5bfbae875e686bc767cfdfec737fa0;p=nano.git 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 --- 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