From afaec19469ca072b9abd69b187d441dfdde1fad4 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 3 Apr 2017 12:31:32 +0200 Subject: [PATCH] xmllite/tests: Use reader_value helper in one more place (Coverity). Signed-off-by: Jacek Caban Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/xmllite/tests/reader.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c index 819f8120e4a..72c1fb71fd3 100644 --- a/dlls/xmllite/tests/reader.c +++ b/dlls/xmllite/tests/reader.c @@ -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");