debuginfod.cxx used the bindtextdomain() and textdomain() functions
despite not including any translated output. These functions were also
used without including the libintl.h header.

Signed-off-by: Érico Rolim <erico....@gmail.com>
---
 debuginfod/debuginfod.cxx | 2 --
 1 file changed, 2 deletions(-)

diff --git a/debuginfod/debuginfod.cxx b/debuginfod/debuginfod.cxx
index 2b68ff1f..bb95aefb 100644
--- a/debuginfod/debuginfod.cxx
+++ b/debuginfod/debuginfod.cxx
@@ -3092,8 +3092,6 @@ int
 main (int argc, char *argv[])
 {
   (void) setlocale (LC_ALL, "");
-  (void) bindtextdomain (PACKAGE_TARNAME, LOCALEDIR);
-  (void) textdomain (PACKAGE_TARNAME);
 
   /* Tell the library which version we are expecting.  */
   elf_version (EV_CURRENT);
-- 
2.29.0

Reply via email to