mirror of
git://git.sv.gnu.org/nano.git
synced 2025-02-13 11:54:37 +03:00
tweaks: avoid a warning when configured with --disable-wrapping
This commit is contained in:
parent
71e452aef2
commit
04a230f933
@ -1958,9 +1958,11 @@ int main(int argc, char **argv)
|
||||
#ifndef DISABLE_WRAPJUSTIFY
|
||||
bool fill_used = FALSE;
|
||||
/* Was the fill option used on the command line? */
|
||||
#ifndef DISABLE_WRAPPING
|
||||
bool forced_wrapping = FALSE;
|
||||
/* Should long lines be automatically hard wrapped? */
|
||||
#endif
|
||||
#endif
|
||||
#ifndef DISABLE_MULTIBUFFER
|
||||
bool old_multibuffer;
|
||||
/* The old value of the multibuffer option, restored after we
|
||||
@ -2222,7 +2224,9 @@ int main(int argc, char **argv)
|
||||
exit(1);
|
||||
}
|
||||
fill_used = TRUE;
|
||||
#ifndef DISABLE_WRAPPING
|
||||
forced_wrapping = TRUE;
|
||||
#endif
|
||||
break;
|
||||
#endif
|
||||
#ifndef DISABLE_SPELLER
|
||||
|
Loading…
x
Reference in New Issue
Block a user