mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
gkeyfilesettingsbackend: Add assertion for known-true condition
We know the group exists since we enumerated it. Should silence a static analysis warning. https://bugzilla.gnome.org/show_bug.cgi?id=733576
This commit is contained in:
parent
7ea4bf3f30
commit
8ebd287fe6
@ -392,6 +392,7 @@ keyfile_to_tree (GKeyfileSettingsBackend *kfsb,
|
||||
continue;
|
||||
|
||||
keys = g_key_file_get_keys (keyfile, groups[i], NULL, NULL);
|
||||
g_assert (keys != NULL);
|
||||
|
||||
for (j = 0; keys[j]; j++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user