Fixing warnings with --enable-help and tiny.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4725 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Benno Schulenberg 2014-04-04 15:42:39 +00:00
parent 26fd9b29a3
commit 81377d9656
2 changed files with 1 additions and 2 deletions

View File

@ -12,6 +12,7 @@
* configure.ac: Add submissive colour disabling to --enable-tiny. * configure.ac: Add submissive colour disabling to --enable-tiny.
* configure.ac: Allow other enablers to override --enable-tiny too. * configure.ac: Allow other enablers to override --enable-tiny too.
* src/{proto.h,search.c}: Fix compilation with --enable-browser. * src/{proto.h,search.c}: Fix compilation with --enable-browser.
* src/global.c (shortcut_init): Fix warnings with --enable-help.
2014-04-03 Benno Schulenberg <bensberg@justemail.net> 2014-04-03 Benno Schulenberg <bensberg@justemail.net>
* configure.ac: Remove unused '*_support' variables. * configure.ac: Remove unused '*_support' variables.

View File

@ -714,10 +714,8 @@ void shortcut_init(bool unjustify)
#ifndef NANO_TINY #ifndef NANO_TINY
const char *nano_dos_msg = N_("Toggle the use of DOS format"); const char *nano_dos_msg = N_("Toggle the use of DOS format");
const char *nano_mac_msg = N_("Toggle the use of Mac format"); const char *nano_mac_msg = N_("Toggle the use of Mac format");
#endif
const char *nano_append_msg = N_("Toggle appending"); const char *nano_append_msg = N_("Toggle appending");
const char *nano_prepend_msg = N_("Toggle prepending"); const char *nano_prepend_msg = N_("Toggle prepending");
#ifndef NANO_TINY
const char *nano_backup_msg = const char *nano_backup_msg =
N_("Toggle backing up of the original file"); N_("Toggle backing up of the original file");
const char *nano_execute_msg = N_("Execute external command"); const char *nano_execute_msg = N_("Execute external command");