trivial: Fix up some harmless lint, no code changes

This commit is contained in:
Richard Hughes 2015-07-28 14:56:19 +01:00
parent eaa09993b0
commit 441785d215
3 changed files with 5 additions and 5 deletions

View File

@ -72,7 +72,7 @@ typedef enum {
FU_DEVICE_FLAG_ALLOW_ONLINE = 1 << 1, /* Since: 0.1.3 */ FU_DEVICE_FLAG_ALLOW_ONLINE = 1 << 1, /* Since: 0.1.3 */
FU_DEVICE_FLAG_ALLOW_OFFLINE = 1 << 2, /* Since: 0.1.3 */ FU_DEVICE_FLAG_ALLOW_OFFLINE = 1 << 2, /* Since: 0.1.3 */
/* private */ /* private */
FU_DEVICE_FLAG_LAST, FU_DEVICE_FLAG_LAST
} FwupdDeviceFlags; } FwupdDeviceFlags;
const gchar *fwupd_status_to_string (FwupdStatus status); const gchar *fwupd_status_to_string (FwupdStatus status);

View File

@ -435,8 +435,8 @@ fu_keyring_sign_data (FuKeyring *keyring, GBytes *payload, GError **error)
gpgme_sign_result_t sign_result; gpgme_sign_result_t sign_result;
gsize sig_len = 0; gsize sig_len = 0;
g_return_val_if_fail (FU_IS_KEYRING (keyring), FALSE); g_return_val_if_fail (FU_IS_KEYRING (keyring), NULL);
g_return_val_if_fail (payload != NULL, FALSE); g_return_val_if_fail (payload != NULL, NULL);
/* setup context */ /* setup context */
if (!fu_keyring_setup (keyring, error)) if (!fu_keyring_setup (keyring, error))

View File

@ -300,7 +300,7 @@ fu_pending_get_device (FuPending *pending, const gchar *device_id, GError **erro
/* lazy load */ /* lazy load */
if (pending->priv->db == NULL) { if (pending->priv->db == NULL) {
if (!fu_pending_load (pending, error)) if (!fu_pending_load (pending, error))
return FALSE; return NULL;
} }
/* get all the devices */ /* get all the devices */
@ -353,7 +353,7 @@ fu_pending_get_devices (FuPending *pending, GError **error)
/* lazy load */ /* lazy load */
if (pending->priv->db == NULL) { if (pending->priv->db == NULL) {
if (!fu_pending_load (pending, error)) if (!fu_pending_load (pending, error))
return FALSE; return NULL;
} }
/* get all the devices */ /* get all the devices */