From ae47657aad23cbfce55ac35dc8fe70703feee071 Mon Sep 17 00:00:00 2001 From: joncruz Date: Thu, 1 Jun 2006 08:52:19 +0000 Subject: [PATCH] Removed debugging messages --- src/xml/repr-io.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp index fc817ed13..10f6101b6 100644 --- a/src/xml/repr-io.cpp +++ b/src/xml/repr-io.cpp @@ -125,15 +125,12 @@ int XmlSource::setFile(char const *filename) int encSkip = 0; if ( (some >= 2) &&(firstFew[0] == 0xfe) && (firstFew[1] == 0xff) ) { - g_warning("File is UTF-16BE"); encoding = g_strdup("UTF-16BE"); encSkip = 2; } else if ( (some >= 2) && (firstFew[0] == 0xff) && (firstFew[1] == 0xfe) ) { - g_warning("File is UTF-16LE"); encoding = g_strdup("UTF-16LE"); encSkip = 2; } else if ( (some >= 3) && (firstFew[0] == 0xef) && (firstFew[1] == 0xbb) && (firstFew[2] == 0xbf) ) { - g_warning("File is UTF-8"); encoding = g_strdup("UTF-8"); encSkip = 3; } -- 2.30.2