commit dc4146f0776ac9b3a56848c6a71363eb2c67364a
parent 59eb01b403aa5255b5504d8fd26775c5eee5366b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Mon, 28 May 2018 09:35:27 -0500
tweaks: avoid an unused variable warning with --enable-tiny
This fixes https://savannah.gnu.org/bugs/?53998.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/text.c b/src/text.c
@@ -1026,9 +1026,9 @@ void do_redo(void)
void do_enter(void)
{
filestruct *newnode = make_new_node(openfile->current);
- filestruct *sampleline = openfile->current;
size_t extra = 0;
#ifndef NANO_TINY
+ filestruct *sampleline = openfile->current;
bool allblanks = FALSE;
if (ISSET(AUTOINDENT)) {