mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 13:42:23 +00:00
trivial: Fix a small critical warning for broken USB devices
This commit is contained in:
parent
a48361f82f
commit
e49b266fd5
@ -219,6 +219,7 @@ fu_provider_chug_get_firmware_version (FuProviderChugItem *item)
|
|||||||
|
|
||||||
out:
|
out:
|
||||||
/* we're done here */
|
/* we're done here */
|
||||||
|
g_clear_error (&error);
|
||||||
if (!g_usb_device_close (item->usb_device, &error))
|
if (!g_usb_device_close (item->usb_device, &error))
|
||||||
g_debug ("Failed to close: %s", error->message);
|
g_debug ("Failed to close: %s", error->message);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user