Fix issue Prevent Defect -17677
authorleerang song <leerang.song@samsung.com>
Wed, 9 Jan 2013 04:57:47 +0000 (13:57 +0900)
committerleerang song <leerang.song@samsung.com>
Wed, 9 Jan 2013 08:58:08 +0000 (17:58 +0900)
[Issue#] Prevent Defect -17677
[Problem] N/A
[Cause] N/A
[Solution] remove return std::sting();
[Request] N/A

Change-Id: I0e1729162a5d899d0cd45ef769123ecdb0a446bb

modules/core/src/string.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index f03ccec..f39e59a
@@ -145,7 +145,6 @@ std::string ToUTF8String(const DPL::String& aIn)
         ThrowMsg(StringException::IconvInitErrorUTF32ToUTF8,
                  "iconv_open failed for " << "UTF-8 <- UTF-32"
                             << "error: " << GetErrnoString());
-        return std::string();
     }
 
     size_t iconvRet = iconv(iconvHandle, &inbuf, &inbytes, &outbuf, &outbytesleft);