diff --git a/plugins/acpi-phat/fu-acpi-phat-version-element.c b/plugins/acpi-phat/fu-acpi-phat-version-element.c index 7ec270551..4a323d261 100644 --- a/plugins/acpi-phat/fu-acpi-phat-version-element.c +++ b/plugins/acpi-phat/fu-acpi-phat-version-element.c @@ -44,7 +44,6 @@ fu_acpi_phat_version_element_parse (FuFirmware *firmware, gchar producer_id[4] = { '\0' }; gsize bufsz = 0; guint64 version_value = 0; - g_autofree gchar *guid_str = NULL; const guint8 *buf = g_bytes_get_data (fw, &bufsz); /* hardcoded */ diff --git a/plugins/pixart-rf/fu-pxi-receiver-device.c b/plugins/pixart-rf/fu-pxi-receiver-device.c index add576222..d08c7ddf1 100644 --- a/plugins/pixart-rf/fu-pxi-receiver-device.c +++ b/plugins/pixart-rf/fu-pxi-receiver-device.c @@ -306,7 +306,6 @@ fu_pxi_receiver_device_write_payload (FuDevice *device, FuChunk *chk, GError **e guint8 status = 0x0; g_autoptr(GByteArray) ota_cmd = g_byte_array_new (); g_autoptr(GByteArray) receiver_device_cmd = g_byte_array_new (); - g_autoptr(GTimer) timer = g_timer_new (); /* ota write payload command */ fu_byte_array_append_uint8 (ota_cmd, fu_chunk_get_data_sz (chk)); /* ota command length */ diff --git a/plugins/pixart-rf/fu-pxi-wireless-device.c b/plugins/pixart-rf/fu-pxi-wireless-device.c index 2d2a5e69b..1d7903e5c 100644 --- a/plugins/pixart-rf/fu-pxi-wireless-device.c +++ b/plugins/pixart-rf/fu-pxi-wireless-device.c @@ -282,7 +282,6 @@ fu_pxi_wireless_device_write_payload (FuDevice *device, FuChunk *chk, GError **e guint8 status = 0x0; g_autoptr(GByteArray) ota_cmd = g_byte_array_new (); g_autoptr(GByteArray) receiver_cmd = g_byte_array_new (); - g_autoptr(GTimer) timer = g_timer_new (); /* proxy */ parent = fu_pxi_wireless_device_get_parent (device, error); @@ -574,7 +573,6 @@ fu_pxi_wireless_device_write_firmware (FuDevice *device, FuPxiWirelessDevice *self = FU_PXI_WIRELESS_DEVICE (device); g_autoptr(GBytes) fw = NULL; g_autoptr(GPtrArray) chunks = NULL; - g_autoptr(GError) error_local = NULL; /* get the default image */ fw = fu_firmware_get_bytes (firmware, error);