trivial: Always initialize a g_autoptr as the compiler is not yet smart enough

This commit is contained in:
Richard Hughes 2017-02-24 07:54:51 +00:00
parent 20c112a891
commit c3c28bacae

View File

@ -204,7 +204,7 @@ static gboolean
fu_plugin_synapticsmst_enumerate (FuPlugin *plugin,
GError **error)
{
g_autoptr (GDir) dir;
g_autoptr(GDir) dir = NULL;
const gchar *dp_aux_dir;
const gchar *aux_node = NULL;
g_autofree gchar *dev_id_str = NULL;