From 68532c37efb3bfe7298278476496b858f6930d88 Mon Sep 17 00:00:00 2001
From: Chris Allegretta <chrisa@asty.org>
Date: Mon, 17 Sep 2001 13:49:33 +0000
Subject: [PATCH] Fix unneeded vars with NANO_SMALL

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@764 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
---
 configure | 2 +-
 nano.c    | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

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 = &current->data[current_x];
-- 
GitLab