commit 84f8df2df82823b9f424be046b4bf46053d5430d
parent 408d9b8708c28ba8b8edd29e0cc86a6d3d64f2ab
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Wed, 23 May 2018 12:00:43 +0200
tweaks: avoid an unused-variable warning with --enable-tiny
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/move.c b/src/move.c
@@ -324,7 +324,9 @@ bool do_next_word(bool after_ends, bool allow_punct, bool update_screen)
bool started_on_word = is_word_mbchar(openfile->current->data +
openfile->current_x, allow_punct);
bool seen_space = !started_on_word;
+#ifndef NANO_TINY
bool seen_word = started_on_word;
+#endif
/* Move forward until we reach the start of a word. */
while (TRUE) {