[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Findutils-patches] [PATCH 4/5] maint: avoid -Werror=unused-macros warni

From: Bernhard Voelker
Subject: [Findutils-patches] [PATCH 4/5] maint: avoid -Werror=unused-macros warning in oldfind
Date: Thu, 2 Feb 2017 00:17:22 +0100

oldfind.c: At top level:
oldfind.c:88:0: error: macro "N_" is not used [-Werror=unused-macros]
 # define N_(String) gettext_noop (String)

cc1: all warnings being treated as errors

* find/oldfind.c (N_): Remove unused macro.
 find/oldfind.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/find/oldfind.c b/find/oldfind.c
index 4a68de94..d9f2d40d 100644
--- a/find/oldfind.c
+++ b/find/oldfind.c
@@ -84,12 +84,6 @@ enum
 #define bindtextdomain(Package, Directory)
 #define ngettext(singular,plural,n) ((1==n) ? singular : plural)
-#ifdef gettext_noop
-# define N_(String) gettext_noop (String)
-/* See locate.c for explanation as to why not use (String) */
-# define N_(String) String
 static void init_mounted_dev_list (int mandatory);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]