[aot] Set null uw_info for tramps without unwind info
[mono.git] / mono / utils / strenc.c
index 23169b37520a0d6a7032cf47cf249d883fd72518..ca5423cfbab59022afd6d503672b1cf81032284e 100644 (file)
@@ -13,8 +13,6 @@
 
 #include "strenc.h"
 
-#undef DEBUG
-
 static const char trailingBytesForUTF8[256] = {
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
        0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
@@ -62,10 +60,6 @@ mono_unicode_from_external (const gchar *in, gsize *bytes)
        
        encodings=g_strsplit (encoding_list, ":", 0);
        for(i=0;encodings[i]!=NULL; i++) {
-#ifdef DEBUG
-               g_message (G_GNUC_PRETTY_FUNCTION ": Trying encoding [%s]",
-                          encodings[i]);
-#endif
                /* "default_locale" is a special case encoding */
                if(!strcmp (encodings[i], "default_locale")) {
                        gchar *utf8=g_locale_to_utf8 (in, -1, NULL, NULL, NULL);
@@ -139,10 +133,6 @@ gchar *mono_utf8_from_external (const gchar *in)
        
        encodings=g_strsplit (encoding_list, ":", 0);
        for(i=0;encodings[i]!=NULL; i++) {
-#ifdef DEBUG
-               g_message (G_GNUC_PRETTY_FUNCTION ": Trying encoding [%s]",
-                          encodings[i]);
-#endif
                
                /* "default_locale" is a special case encoding */
                if(!strcmp (encodings[i], "default_locale")) {