From 1238a32bfdc49b2ac9cbd56c0f2913e9f1c9bfe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Mon, 9 Dec 2019 15:10:00 +0100 Subject: [PATCH] gstxmlhelper: fix xmlOutputBufferFlush ignored ret fix CID #1456553 --- ext/dash/gstxmlhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dash/gstxmlhelper.c b/ext/dash/gstxmlhelper.c index c59c57d9a8..97adc6ac9a 100644 --- a/ext/dash/gstxmlhelper.c +++ b/ext/dash/gstxmlhelper.c @@ -982,7 +982,7 @@ gst_xml_helper_get_node_as_string (xmlNode * a_node, gchar ** content) out_buf = xmlAllocOutputBuffer (NULL); g_assert (out_buf != NULL); xmlNodeDumpOutput (out_buf, a_node->doc, a_node, 0, 0, txt_encoding); - xmlOutputBufferFlush (out_buf); + (void) xmlOutputBufferFlush (out_buf); #ifdef LIBXML2_NEW_BUFFER if (xmlOutputBufferGetSize (out_buf) > 0) { *content =