]> git.wh0rd.org Git - nano.git/commitdiff
Fixing warnings with --enable-help and tiny.
authorBenno Schulenberg <bensberg@justemail.net>
Fri, 4 Apr 2014 15:42:39 +0000 (15:42 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Fri, 4 Apr 2014 15:42:39 +0000 (15:42 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4725 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/global.c

index b4b5a037d7f529bd05ec4e417dddcced456870fb..9450cf3c95b87820564591de3d09cb3ee1e4ffca 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,7 @@
        * configure.ac: Add submissive colour disabling to --enable-tiny.
        * configure.ac: Allow other enablers to override --enable-tiny too.
        * 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>
        * configure.ac: Remove unused '*_support' variables.
index dca695c44645153a74506e055592035631424b29..74bb0d5cf18cdeba5a7ef40db0803466e26ab40e 100644 (file)
@@ -714,10 +714,8 @@ void shortcut_init(bool unjustify)
 #ifndef NANO_TINY
     const char *nano_dos_msg = N_("Toggle the use of DOS 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_prepend_msg = N_("Toggle prepending");
-#ifndef NANO_TINY
     const char *nano_backup_msg =
        N_("Toggle backing up of the original file");
     const char *nano_execute_msg = N_("Execute external command");