From: David Lawrence Ramsey Date: Sun, 12 Jun 2005 16:45:37 +0000 (+0000) Subject: in do_tab(), remove unneeded variable kbinput X-Git-Tag: v1.3.8~173 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6315e2ff3981c2d10ee76a7237aeda9c300497fa;p=nano.git in do_tab(), remove unneeded variable kbinput git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2630 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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!* */