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:
Colin Walters 2014-07-22 14:23:47 -04:00
parent 7ea4bf3f30
commit 8ebd287fe6

View File

@ -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++)
{