Commit 5de180be authored by Austin English's avatar Austin English Committed by Alexandre Julliard

msxml3: Avoid a dangling else (LLVM/Clang).

parent 3728a882
......@@ -2277,8 +2277,7 @@ static HRESULT WINAPI domdoc_loadXML(
/* skip leading spaces if needed */
if (This->properties->version == MSXML_DEFAULT || This->properties->version == MSXML26)
while (*ptr)
if (isspaceW(*ptr)) ptr++; else break;
while (*ptr && isspaceW(*ptr)) ptr++;
xmldoc = doparse(This, (char*)ptr, strlenW(ptr)*sizeof(WCHAR), XML_CHAR_ENCODING_UTF16LE);
if ( !xmldoc )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment