gas gettext warning

Message ID 20200226030911.GE5750@bubble.grove.modra.org
State New
Headers show
Series
  • gas gettext warning
Related show

Commit Message

Alan Modra Feb. 26, 2020, 3:09 a.m.
gettext("") returns the header entry with meta information, not the
empty string.

	* config/tc-arm.c (reg_expected_msgs[REG_TYPE_RNB]): Don't use
	N_() on empty string.


-- 
Alan Modra
Australia Development Lab, IBM

Patch

diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index cfbee7e59d..30c69fb763 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -730,7 +730,7 @@  const char * const reg_expected_msgs[] =
   [REG_TYPE_MMXWCG] = N_("iWMMXt scalar register expected"),
   [REG_TYPE_XSCALE] = N_("XScale accumulator register expected"),
   [REG_TYPE_MQ]	    = N_("MVE vector register expected"),
-  [REG_TYPE_RNB]    = N_("")
+  [REG_TYPE_RNB]    = ""
 };
 
 /* Some well known registers that we refer to directly elsewhere.  */