[ostree] libostree: Fix a couple compiler warnings
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] libostree: Fix a couple compiler warnings
- Date: Thu, 12 Nov 2015 19:32:36 +0000 (UTC)
commit a19a112d9dda6d9bbcbfc4c8108063eded6bc38a
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Nov 12 14:32:07 2015 -0500
libostree: Fix a couple compiler warnings
src/libostree/ostree-gpg-verify-result.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libostree/ostree-gpg-verify-result.c b/src/libostree/ostree-gpg-verify-result.c
index c1628ff..37fbfb5 100644
--- a/src/libostree/ostree-gpg-verify-result.c
+++ b/src/libostree/ostree-gpg-verify-result.c
@@ -242,8 +242,8 @@ ostree_gpg_verify_result_lookup (OstreeGpgVerifyResult *result,
guint signature_index;
gboolean ret = FALSE;
- g_return_val_if_fail (OSTREE_IS_GPG_VERIFY_RESULT (result), NULL);
- g_return_val_if_fail (key_id != NULL, NULL);
+ g_return_val_if_fail (OSTREE_IS_GPG_VERIFY_RESULT (result), FALSE);
+ g_return_val_if_fail (key_id != NULL, FALSE);
/* signature->fpr is always upper-case. */
key_id_upper = g_ascii_strup (key_id, -1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]