trivial: remove some unused variables caught by clang

This commit is contained in:
Mario Limonciello 2021-06-29 11:04:21 -05:00 committed by Mario Limonciello
parent 6288886d35
commit 8867b1f47e
3 changed files with 0 additions and 4 deletions

View File

@ -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 */

View File

@ -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 */

View File

@ -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);