Avoid warning due to truncation of NUL terminator The LHS is a string constant, it already has an implicit NUL terminator. --- gucharmap/gucharmap-charmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/gucharmap/gucharmap-charmap.c =================================================================== --- a/gucharmap/gucharmap-charmap.c +++ b/gucharmap/gucharmap-charmap.c @@ -552,7 +552,7 @@ insert_codepoint (GucharmapCharmap *char char buf[7]; GUnicodeType t; gboolean is_graph, is_Mn; - char nbsp[3] = "\302\240\0"; /* U+00A0 NO-BREAK SPACE */ + char nbsp[3] = "\302\240"; /* U+00A0 NO-BREAK SPACE */ t = g_unichar_type (uc); is_Mn = t == G_UNICODE_NON_SPACING_MARK /* Mn */;