[Prevent] Fixing issues: 17677
authorTomasz Iwanek <t.iwanek@samsung.com>
Tue, 8 Jan 2013 13:15:47 +0000 (14:15 +0100)
committerGerrit Code Review <gerrit2@kim11>
Wed, 9 Jan 2013 11:21:45 +0000 (20:21 +0900)
[Issue#]       LINUXNGWAP-651
[Bug]          Unreachable code
[Cause]        N/A
[Solution]     Remove it
[Verification] Build repository

Change-Id: I110b0ed03d7993d137eff73cf38b0f59dbdf0c24

modules/core/src/string.cpp

index f03cceca998d61e93007f408f099616c2c2c8595..f39e59a367df1106a6587e43dc920e6c498f2792 100644 (file)
@@ -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);