mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
gsettingschema: fix uninitialized value warning
This error could actually happen in case the assertions are off.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user