[Issue] Unreachable code.
[Bug] N/A
[Cause] N/A
[Solution] Deleted two unreachable return statements.
[Verification] Build commons.
Change-Id: I07be1ad33fcd045c109ee18c158f5fc0010b3ef0
ThrowMsg(StringException::IconvConvertErrorUTF8ToUTF32,
"iconv failed for " << "UTF-32 <- UTF-8" << "error: "
<< GetErrnoString());
- return String();
}
// Ignore BOM in front of UTF-32
ThrowMsg(StringException::IconvConvertErrorUTF32ToUTF8,
"iconv failed for " << "UTF-8 <- UTF-32"
<< "error: " << GetErrnoString());
- return std::string();
}
return &output[0];