From 6315e2ff3981c2d10ee76a7237aeda9c300497fa Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 12 Jun 2005 16:45:37 +0000 Subject: [PATCH] in do_tab(), remove unneeded variable kbinput git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2630 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ src/nano.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 785f9f7d..907596ee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -129,6 +129,8 @@ CVS code - usage() - Add missing N_() around one message, so that it isn't erroneously translated twice. (DLR) + do_tab() + - Remove unneeded variable kbinput. (DLR) do_alt_speller() - Replace a set_modified() with SET(MODIFIED) to avoid an unnecessary update, and remove an unneeded clearok(FALSE). diff --git a/src/nano.c b/src/nano.c index a59b08a2..4df9dda9 100644 --- a/src/nano.c +++ b/src/nano.c @@ -1389,9 +1389,7 @@ void do_delete(void) void do_tab(void) { - char *kbinput = "\t"; - - do_output(kbinput, 1, TRUE); + do_output("\t", 1, TRUE); } /* Someone hits Return *gasp!* */ -- 2.39.5