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:
Philip Withnall 2021-01-06 17:23:31 +00:00
parent 8a5cc02142
commit 7f7512b62e

View File

@ -1012,8 +1012,7 @@ g_propagate_error (GError **dest,
if (dest == NULL)
{
if (src)
g_error_free (src);
g_error_free (src);
return;
}
else