mlang: Fixed dead stores (llvm/clang).

This commit is contained in:
Ricardo Filipe 2008-11-13 01:16:24 +00:00 committed by Alexandre Julliard
parent c3db26d4bc
commit eb45cae5db
1 changed files with 0 additions and 2 deletions

View File

@ -999,7 +999,6 @@ HRESULT WINAPI ConvertINetUnicodeToMultiByte(
if (pDstStr) if (pDstStr)
{ {
size = min(size, destsz);
size = ConvertJapaneseUnicodeToJIS(pSrcStr, *pcSrcSize, pDstStr, size = ConvertJapaneseUnicodeToJIS(pSrcStr, *pcSrcSize, pDstStr,
destsz); destsz);
if (!size) if (!size)
@ -1016,7 +1015,6 @@ HRESULT WINAPI ConvertINetUnicodeToMultiByte(
if (pDstStr) if (pDstStr)
{ {
size = min(size, destsz);
size = WideCharToMultiByte(dwEncoding, 0, pSrcStr, *pcSrcSize, size = WideCharToMultiByte(dwEncoding, 0, pSrcStr, *pcSrcSize,
pDstStr, destsz, NULL, NULL); pDstStr, destsz, NULL, NULL);
if (!size) if (!size)