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
master
David Lawrence Ramsey 2004-01-09 22:38:09 +00:00
parent 9e45a47054
commit f8ddf31bfb
2 changed files with 2 additions and 1 deletions

View File

@ -75,6 +75,7 @@ CVS code -
- Remove unused variable option_index. (DLR) - Remove unused variable option_index. (DLR)
- Fix omission of NANO_NO_KEY in the shortcut list scanning - Fix omission of NANO_NO_KEY in the shortcut list scanning
code. (DLR) code. (DLR)
- Remove now-unnecessary initialization of kbinput. (DLR)
- nano.h: - nano.h:
- Comment additions and cosmetic tweaks. (DLR) - Comment additions and cosmetic tweaks. (DLR)
- search.c: - search.c:

View File

@ -3055,7 +3055,7 @@ int main(int argc, char *argv[])
int fill_flag_used = 0; /* Was the fill option used? */ int fill_flag_used = 0; /* Was the fill option used? */
const shortcut *s; const shortcut *s;
int keyhandled = 0; /* Have we handled the keystroke yet? */ int keyhandled = 0; /* Have we handled the keystroke yet? */
int kbinput = -1; /* Input from keyboard */ int kbinput; /* Input from keyboard */
int meta; int meta;
#ifndef NANO_SMALL #ifndef NANO_SMALL