mlang: Fixed dead stores (llvm/clang).
This commit is contained in:
parent
c3db26d4bc
commit
eb45cae5db
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue