xmllite: Do not leave start uninitialized (Coverity).
This commit is contained in:
parent
51d96dac70
commit
e8e485d448
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue