mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 07:09:57 +00:00
trivial: Fix up some harmless lint, no code changes
This commit is contained in:
parent
eaa09993b0
commit
441785d215
@ -72,7 +72,7 @@ typedef enum {
|
||||
FU_DEVICE_FLAG_ALLOW_ONLINE = 1 << 1, /* Since: 0.1.3 */
|
||||
FU_DEVICE_FLAG_ALLOW_OFFLINE = 1 << 2, /* Since: 0.1.3 */
|
||||
/* private */
|
||||
FU_DEVICE_FLAG_LAST,
|
||||
FU_DEVICE_FLAG_LAST
|
||||
} FwupdDeviceFlags;
|
||||
|
||||
const gchar *fwupd_status_to_string (FwupdStatus status);
|
||||
|
@ -435,8 +435,8 @@ fu_keyring_sign_data (FuKeyring *keyring, GBytes *payload, GError **error)
|
||||
gpgme_sign_result_t sign_result;
|
||||
gsize sig_len = 0;
|
||||
|
||||
g_return_val_if_fail (FU_IS_KEYRING (keyring), FALSE);
|
||||
g_return_val_if_fail (payload != NULL, FALSE);
|
||||
g_return_val_if_fail (FU_IS_KEYRING (keyring), NULL);
|
||||
g_return_val_if_fail (payload != NULL, NULL);
|
||||
|
||||
/* setup context */
|
||||
if (!fu_keyring_setup (keyring, error))
|
||||
|
@ -300,7 +300,7 @@ fu_pending_get_device (FuPending *pending, const gchar *device_id, GError **erro
|
||||
/* lazy load */
|
||||
if (pending->priv->db == NULL) {
|
||||
if (!fu_pending_load (pending, error))
|
||||
return FALSE;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* get all the devices */
|
||||
@ -353,7 +353,7 @@ fu_pending_get_devices (FuPending *pending, GError **error)
|
||||
/* lazy load */
|
||||
if (pending->priv->db == NULL) {
|
||||
if (!fu_pending_load (pending, error))
|
||||
return FALSE;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* get all the devices */
|
||||
|
Loading…
Reference in New Issue
Block a user