xmllite/tests: Use reader_value helper in one more place (Coverity).

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2017-04-03 12:31:32 +02:00 committed by Alexandre Julliard
parent 14e7febc52
commit afaec19469
1 changed files with 1 additions and 2 deletions

View File

@ -2580,8 +2580,7 @@ static void test_string_pointers(void)
read_node(reader, XmlNodeType_Element);
next_attribute(reader);
read_value_char(reader, 'm');
IXmlReader_GetValue(reader, &p, NULL);
ok(!strcmp_wa(p, "yns"), "value = %s\n", wine_dbgstr_w(p));
p = reader_value(reader, "yns");
read_node(reader, XmlNodeType_Element);
ns = reader_namespace(reader, "myns");