[gnome-online-accounts/gnome-3-16] oauth2: Silence -Wint-conversion
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-16] oauth2: Silence -Wint-conversion
- Date: Tue, 27 Oct 2015 17:37:10 +0000 (UTC)
commit 0e8fa51099661dd1195a333c64d32055c503c22e
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Oct 27 18:23:51 2015 +0100
oauth2: Silence -Wint-conversion
src/goabackend/goaoauth2provider.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/goabackend/goaoauth2provider.c b/src/goabackend/goaoauth2provider.c
index 32167eb..06c0785 100644
--- a/src/goabackend/goaoauth2provider.c
+++ b/src/goabackend/goaoauth2provider.c
@@ -309,9 +309,9 @@ goa_oauth2_provider_process_redirect_url (GoaOAuth2Provider *provider,
gchar **authorization_code,
GError **error)
{
- g_return_val_if_fail (GOA_IS_OAUTH2_PROVIDER (provider), NULL);
- g_return_val_if_fail (redirect_url != NULL, NULL);
- g_return_val_if_fail (authorization_code != NULL, NULL);
+ g_return_val_if_fail (GOA_IS_OAUTH2_PROVIDER (provider), FALSE);
+ g_return_val_if_fail (redirect_url != NULL, FALSE);
+ g_return_val_if_fail (authorization_code != NULL, FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
return GOA_OAUTH2_PROVIDER_GET_CLASS (provider)->process_redirect_url (provider,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]