trivial: remove some unused variables

Caught by clang
This commit is contained in:
Mario Limonciello 2021-04-06 08:43:46 -05:00 committed by Mario Limonciello
parent 776a0890fe
commit 395856afeb
3 changed files with 0 additions and 3 deletions

View File

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

View File

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

View File

@ -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,