mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-28 15:02:17 +01:00
glib: Various minor scan-build fixes
These squash various warnings from `scan-build`. None of them are legitimate bugs, but some of them do improve code readability a bit. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1767
This commit is contained in:
@@ -2527,6 +2527,8 @@ g_variant_new_parsed_va (const gchar *format,
|
||||
if (*stream.stream)
|
||||
g_error ("g_variant_new_parsed: trailing text after value");
|
||||
|
||||
g_clear_error (&error);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user