From e5e892720fb5d6518bcdbb674113b32f55d2720b Mon Sep 17 00:00:00 2001 From: "dahyeong.kim" Date: Thu, 18 Apr 2013 00:09:57 +0900 Subject: [PATCH] Delete checking if strlen() is 0 in ConvertWcsToMbsN() Change-Id: Id6f1fc776abef8d02da328aa717e9199a820e175 Signed-off-by: dahyeong.kim --- src/base/utility/FBaseUtil_IcuConverter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/base/utility/FBaseUtil_IcuConverter.cpp b/src/base/utility/FBaseUtil_IcuConverter.cpp index 38c4aa7..ae410f8 100644 --- a/src/base/utility/FBaseUtil_IcuConverter.cpp +++ b/src/base/utility/FBaseUtil_IcuConverter.cpp @@ -208,7 +208,6 @@ ConvertWcsToMbsN(const wchar_t* pValue) SysTryReturn(NID_BASE_UTIL, pValue != null, null, E_INVALID_ARG, "[%s] Invalid argument is used. The pValue is null.", GetErrorMessage(E_INVALID_ARG)); int len = wcslen(pValue); - SysTryReturn(NID_BASE_UTIL, len != 0, null, E_INVALID_ARG, "[%s] Invalid argument is used. The pValue is an empty string.", GetErrorMessage(E_INVALID_ARG)); UErrorCode err = U_ZERO_ERROR; UConverter* pConverter = ucnv_open("UTF-8", &err); -- 2.7.4