diff --git a/plugins/solokey/fu-solokey-firmware.c b/plugins/solokey/fu-solokey-firmware.c index f9bf7dc54..d39e8584b 100644 --- a/plugins/solokey/fu-solokey-firmware.c +++ b/plugins/solokey/fu-solokey-firmware.c @@ -120,7 +120,6 @@ fu_solokey_firmware_write (FuFirmware *firmware, GError **error) { g_autofree gchar *buf_base64 = NULL; g_autoptr(FuFirmware) img = NULL; - g_autoptr(GByteArray) buf = g_byte_array_new (); g_autoptr(GBytes) buf_blob = NULL; g_autoptr(GString) str = g_string_new (NULL); g_autoptr(JsonBuilder) builder = json_builder_new (); diff --git a/plugins/thunderbolt/fu-thunderbolt-firmware.c b/plugins/thunderbolt/fu-thunderbolt-firmware.c index 3b0818877..31d788924 100644 --- a/plugins/thunderbolt/fu-thunderbolt-firmware.c +++ b/plugins/thunderbolt/fu-thunderbolt-firmware.c @@ -133,7 +133,6 @@ fu_thunderbolt_firmware_export (FuFirmware *firmware, { FuThunderboltFirmware *self = FU_THUNDERBOLT_FIRMWARE (firmware); FuThunderboltFirmwarePrivate *priv = GET_PRIVATE (self); - g_autoptr(XbBuilderNode) bc = NULL; fu_xmlb_builder_insert_kv (bn, "family", fu_thunderbolt_firmware_family_to_string (priv->family)); diff --git a/src/fu-engine.c b/src/fu-engine.c index ad6ddf0d0..1f44fcd24 100644 --- a/src/fu-engine.c +++ b/src/fu-engine.c @@ -5663,7 +5663,6 @@ static gchar * fu_engine_attrs_calculate_hsi_for_chassis (FuEngine *self) { guint val; - g_autoptr(GError) error = NULL; /* get chassis type from SMBIOS data */ val = fu_context_get_smbios_integer (self->ctx,