mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 22:54:32 +00:00
trivial: remove some unused variables
Caught by clang
This commit is contained in:
parent
776a0890fe
commit
395856afeb
@ -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 ();
|
||||
|
@ -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));
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user