From 92826bf848c72237e33ec58583442bc017a164e9 Mon Sep 17 00:00:00 2001 From: Kevin Lynx Date: Thu, 1 Aug 2013 23:20:02 +0800 Subject: [PATCH] turn off the damn debug log --- src/sphinx_builder/sphinx_xml.erl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/sphinx_builder/sphinx_xml.erl b/src/sphinx_builder/sphinx_xml.erl index 08db1b3..03844ab 100644 --- a/src/sphinx_builder/sphinx_xml.erl +++ b/src/sphinx_builder/sphinx_xml.erl @@ -95,9 +95,4 @@ valid_file_names(Files) -> [{valid_name(Name), Length} || {Name, Length} <- Files]. valid_name(S) -> - ValidName = string_util:strip_invalid_unicode(S), - if length(ValidName) < length(S) -> - ?I(?FMT("~s -> ~s", [S, ValidName])); - true -> ok - end, - ValidName. + string_util:strip_invalid_unicode(S).