gsettingschema: fix uninitialized value warning

This error could actually happen in case the assertions are off.
This commit is contained in:
Ignacio Casal Quinteiro 2016-02-24 17:08:04 +01:00
parent 7a8abb20ab
commit 53a24814f6

View File

@ -950,7 +950,7 @@ g_settings_schema_get_value (GSettingsSchema *schema,
{
GSettingsSchema *s = schema;
GVariantIter *iter;
GVariant *value;
GVariant *value = NULL;
g_return_val_if_fail (schema != NULL, NULL);