xmllite/reader: Fix compiler warning.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
81f6437482
commit
fc62dac4dc
|
@ -1019,9 +1019,9 @@ static void readerinput_switchencoding(xmlreaderinput *readerinput, xml_encoding
|
||||||
encoded_buffer *src = &readerinput->buffer->encoded;
|
encoded_buffer *src = &readerinput->buffer->encoded;
|
||||||
encoded_buffer *dest = &readerinput->buffer->utf16;
|
encoded_buffer *dest = &readerinput->buffer->utf16;
|
||||||
int len, dest_len;
|
int len, dest_len;
|
||||||
|
UINT cp = ~0u;
|
||||||
HRESULT hr;
|
HRESULT hr;
|
||||||
WCHAR *ptr;
|
WCHAR *ptr;
|
||||||
UINT cp;
|
|
||||||
|
|
||||||
hr = get_code_page(enc, &cp);
|
hr = get_code_page(enc, &cp);
|
||||||
if (FAILED(hr)) return;
|
if (FAILED(hr)) return;
|
||||||
|
|
Loading…
Reference in New Issue