Commit 04a230f9 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

tweaks: avoid a warning when configured with --disable-wrapping

No related merge requests found
Showing with 4 additions and 0 deletions
+4 -0
...@@ -1958,9 +1958,11 @@ int main(int argc, char **argv) ...@@ -1958,9 +1958,11 @@ int main(int argc, char **argv)
#ifndef DISABLE_WRAPJUSTIFY #ifndef DISABLE_WRAPJUSTIFY
bool fill_used = FALSE; bool fill_used = FALSE;
/* Was the fill option used on the command line? */ /* Was the fill option used on the command line? */
#ifndef DISABLE_WRAPPING
bool forced_wrapping = FALSE; bool forced_wrapping = FALSE;
/* Should long lines be automatically hard wrapped? */ /* Should long lines be automatically hard wrapped? */
#endif #endif
#endif
#ifndef DISABLE_MULTIBUFFER #ifndef DISABLE_MULTIBUFFER
bool old_multibuffer; bool old_multibuffer;
/* The old value of the multibuffer option, restored after we /* The old value of the multibuffer option, restored after we
...@@ -2222,7 +2224,9 @@ int main(int argc, char **argv) ...@@ -2222,7 +2224,9 @@ int main(int argc, char **argv)
exit(1); exit(1);
} }
fill_used = TRUE; fill_used = TRUE;
#ifndef DISABLE_WRAPPING
forced_wrapping = TRUE; forced_wrapping = TRUE;
#endif
break; break;
#endif #endif
#ifndef DISABLE_SPELLER #ifndef DISABLE_SPELLER
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment