Disable a UTF-8 warning per default
authorJohan Dahlin <jdahlin@litl.com>
Sat, 21 Feb 2009 02:35:45 +0000 (23:35 -0300)
committerJohan Dahlin <johan@gnome.org>
Sat, 21 Feb 2009 02:35:45 +0000 (23:35 -0300)
giscanner/scannerparser.y

index b2ce2cd..85640fe 100644 (file)
@@ -185,7 +185,9 @@ strings
                $$->const_string = g_strcompress (yytext + 1);
                 if (!g_utf8_validate ($$->const_string, -1, NULL))
                   {
+#if 0
                     g_warning ("Ignoring non-UTF-8 constant string \"%s\"", yytext + 1);
+#endif                    
                     g_free($$->const_string);
                     $$->const_string = NULL;
                   }