From: Chris Allegretta Date: Mon, 17 Sep 2001 13:49:33 +0000 (+0000) Subject: Fix unneeded vars with NANO_SMALL X-Git-Tag: v1.1.2~67 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=68532c37efb3bfe7298278476496b858f6930d88;p=nano.git Fix unneeded vars with NANO_SMALL git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@764 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/configure b/configure index 8275240f..1430e57b 100755 --- 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 index bcd9656a..d7f57951 100644 --- 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 = ¤t->data[current_x];