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