plugin: define an autofree value to NULL
This satisfies -Werror=maybe-uninitialized.
This commit is contained in:
@@ -1089,7 +1089,7 @@ static gchar *
|
||||
log_object_build_id (MMLogObject *_self)
|
||||
{
|
||||
MMPlugin *self;
|
||||
g_autofree gchar *plugin_name_lowercase;
|
||||
g_autofree gchar *plugin_name_lowercase = NULL;
|
||||
|
||||
self = MM_PLUGIN (_self);
|
||||
plugin_name_lowercase = g_ascii_strdown (self->priv->name, -1);
|
||||
|
Reference in New Issue
Block a user