From 81377d96564a34863a50974efea4f29fd130d77a Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 4 Apr 2014 15:42:39 +0000 Subject: [PATCH] Fixing warnings with --enable-help and tiny. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4725 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 1 + src/global.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b4b5a037..9450cf3c 100644 --- 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 * configure.ac: Remove unused '*_support' variables. diff --git a/src/global.c b/src/global.c index dca695c4..74bb0d5c 100644 --- a/src/global.c +++ b/src/global.c @@ -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"); -- 2.39.5