Commit e8e485d4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

xmllite: Do not leave start uninitialized (Coverity).

parent 51d96dac
...@@ -1036,7 +1036,7 @@ static HRESULT reader_parse_sddecl(xmlreader *reader) ...@@ -1036,7 +1036,7 @@ static HRESULT reader_parse_sddecl(xmlreader *reader)
reader_skipn(reader, reader_cmp(reader, yesW) ? 2 : 3); reader_skipn(reader, reader_cmp(reader, yesW) ? 2 : 3);
ptr = reader_get_cur(reader); ptr = reader_get_cur(reader);
TRACE("standalone=%s\n", debugstr_wn(start, ptr-start)); TRACE("standalone=%s\n", debugstr_wn(start, ptr-start));
val.str = start; val.str = val.start = start;
val.len = ptr-start; val.len = ptr-start;
if (reader_cmp(reader, quoteW) && reader_cmp(reader, dblquoteW)) if (reader_cmp(reader, quoteW) && reader_cmp(reader, dblquoteW))
......
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