mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-25 19:52:10 +01:00
gerror: Drop a redundant branch
At this point, `src` is guaranteed to be non-`NULL` due to the precondition check. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
8a5cc02142
commit
7f7512b62e
@ -1012,8 +1012,7 @@ g_propagate_error (GError **dest,
|
||||
|
||||
if (dest == NULL)
|
||||
{
|
||||
if (src)
|
||||
g_error_free (src);
|
||||
g_error_free (src);
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user