1
1

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

Этот коммит содержится в:
Benno Schulenberg 2016-05-15 15:18:47 +02:00
родитель 71e452aef2
Коммит 04a230f933

Просмотреть файл

@ -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)
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