mlang: Fixed dead stores (llvm/clang).
This commit is contained in:
parent
c3db26d4bc
commit
eb45cae5db
|
@ -999,7 +999,6 @@ HRESULT WINAPI ConvertINetUnicodeToMultiByte(
|
|||
|
||||
if (pDstStr)
|
||||
{
|
||||
size = min(size, destsz);
|
||||
size = ConvertJapaneseUnicodeToJIS(pSrcStr, *pcSrcSize, pDstStr,
|
||||
destsz);
|
||||
if (!size)
|
||||
|
@ -1016,7 +1015,6 @@ HRESULT WINAPI ConvertINetUnicodeToMultiByte(
|
|||
|
||||
if (pDstStr)
|
||||
{
|
||||
size = min(size, destsz);
|
||||
size = WideCharToMultiByte(dwEncoding, 0, pSrcStr, *pcSrcSize,
|
||||
pDstStr, destsz, NULL, NULL);
|
||||
if (!size)
|
||||
|
|
Loading…
Reference in New Issue