mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gsettingsschema: Suppress return value check
We're intentionally ignoring the value here. Pacifies static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576
This commit is contained in:
parent
acdcf5cd50
commit
5fe71c7c5c
@ -673,8 +673,9 @@ parse_into_text_tables (const gchar *directory,
|
||||
GMarkupParseContext *context;
|
||||
|
||||
context = g_markup_parse_context_new (&parser, G_MARKUP_TREAT_CDATA_AS_TEXT, &info, NULL);
|
||||
/* Ignore errors here, this is best effort only. */
|
||||
if (g_markup_parse_context_parse (context, contents, size, NULL))
|
||||
g_markup_parse_context_end_parse (context, NULL);
|
||||
(void) g_markup_parse_context_end_parse (context, NULL);
|
||||
g_markup_parse_context_free (context);
|
||||
|
||||
/* Clean up dangling stuff in case there was an error. */
|
||||
|
Loading…
Reference in New Issue
Block a user