nano

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

commit f8ddf31bfb5bfbae875e686bc767cfdfec737fa0
parent 9e45a47054080bfd07343a06db3918a103826814
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Fri,  9 Jan 2004 22:38:09 +0000

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

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

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