Nikolay Sivov (@nsivov) commented about dlls/xmllite/writer.c:
return E_NOTIMPL;
}
+static HRESULT write_raw_char(xmlwriteroutput *output, LPCWSTR *context) +{
- const WCHAR *data = *context;
- if (!is_char(*data)) return WC_E_XMLCHARACTER;
- if (is_high_surrogate(*data))
- {
if (!*(data + 1) || !is_low_surrogate(*(data + 1)))
Isn't the first condition redundant.