nano

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

commit 68532c37efb3bfe7298278476496b858f6930d88
parent ff98983602ebb3098589d08185bb81635fa4413a
Author: Chris Allegretta <chrisa@asty.org>
Date:   Mon, 17 Sep 2001 13:49:33 +0000

Fix unneeded vars with NANO_SMALL


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@764 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Mconfigure | 2+-
Mnano.c | 5++++-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure b/configure @@ -825,7 +825,7 @@ fi -ALL_LINGUAS="es de fr it id fi hu ca cs gl uk ru sv no nl" +ALL_LINGUAS="es de fr it id fi hu ca cs gl uk ru sv no nl da" # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 diff --git a/nano.c b/nano.c @@ -662,8 +662,11 @@ void do_char(char ch) int do_enter(filestruct * inptr) { filestruct *newnode; - char *tmp, *spc; + char *tmp; +#ifndef NANO_SMALL + char *spc; int extra = 0; +#endif newnode = make_new_node(inptr); tmp = &current->data[current_x];