Merge branch 'key-file-dead-code' into 'main'

gkeyfile: Remove some unreachable code

See merge request GNOME/glib!2795
This commit is contained in:
Marco Trevisan 2022-07-06 11:06:46 +00:00
commit 5764e3944d

View File

@ -3361,7 +3361,7 @@ g_key_file_set_group_comment (GKeyFile *key_file,
g_set_error (error, G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_GROUP_NOT_FOUND,
_("Key file does not have group “%s”"),
group_name ? group_name : "(null)");
group_name);
return FALSE;
}