gsettingschema: fix uninitialized value warning

This error could actually happen in case the assertions are off.
parent 7a8abb20
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment