Avoiding two compilation warnings.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5481 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
26151189ba
commit
bb31118fcb
|
@ -2,6 +2,7 @@
|
||||||
* src/text.c: Fix compilation with --enable-tiny --enable-justify.
|
* src/text.c: Fix compilation with --enable-tiny --enable-justify.
|
||||||
* doc/man/{nano.1,rnano.1,nanorc.5}, doc/texinfo/nano.texi:
|
* doc/man/{nano.1,rnano.1,nanorc.5}, doc/texinfo/nano.texi:
|
||||||
Update date and version number to match the upcoming release.
|
Update date and version number to match the upcoming release.
|
||||||
|
* src/files.c, src/winio.c: Avoid two compilation warnings.
|
||||||
|
|
||||||
2015-12-04 Benno Schulenberg <bensberg@justemail.net>
|
2015-12-04 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/proto.h: Avoid a compilation warning.
|
* src/proto.h: Avoid a compilation warning.
|
||||||
|
|
|
@ -1100,8 +1100,9 @@ void do_insertfile(
|
||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
size_t pww_save = openfile->placewewant;
|
size_t pww_save = openfile->placewewant;
|
||||||
|
#if !defined(NANO_TINY) || !defined(DISABLE_BROWSER)
|
||||||
functionptrtype func = func_from_key(&i);
|
functionptrtype func = func_from_key(&i);
|
||||||
|
#endif
|
||||||
ans = mallocstrcpy(ans, answer);
|
ans = mallocstrcpy(ans, answer);
|
||||||
|
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
|
|
|
@ -43,7 +43,9 @@ static bool disable_cursorpos = FALSE;
|
||||||
static bool seen_wide = FALSE;
|
static bool seen_wide = FALSE;
|
||||||
/* Whether we've seen a multicolumn character in the current line. */
|
/* Whether we've seen a multicolumn character in the current line. */
|
||||||
|
|
||||||
|
#ifndef NANO_TINY
|
||||||
static sig_atomic_t sigwinch_counter_save = 0;
|
static sig_atomic_t sigwinch_counter_save = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Control character compatibility:
|
/* Control character compatibility:
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue