mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
gsettingschema: fix uninitialized value warning
This error could actually happen in case the assertions are off.
This commit is contained in:
parent
7a8abb20ab
commit
53a24814f6
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user