mirror of
https://git.proxmox.com/git/fwupd
synced 2026-02-01 15:37:12 +00:00
trivial: Always initialize a g_autoptr as the compiler is not yet smart enough
This commit is contained in:
parent
20c112a891
commit
c3c28bacae
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user