[frogr] Don't return value if assertion fail in a void function
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Don't return value if assertion fail in a void function
- Date: Wed, 4 Jun 2014 23:42:03 +0000 (UTC)
commit c4d8a42b830a4ef6290a773bf45d5d96e503dc33
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Sun Jun 1 23:37:07 2014 +0100
Don't return value if assertion fail in a void function
src/flicksoup/fsp-session.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/flicksoup/fsp-session.c b/src/flicksoup/fsp-session.c
index a41744f..c2fe07f 100644
--- a/src/flicksoup/fsp-session.c
+++ b/src/flicksoup/fsp-session.c
@@ -1654,7 +1654,7 @@ void
fsp_session_set_default_proxy (FspSession *self,
gboolean enabled)
{
- g_return_val_if_fail (FSP_IS_SESSION (self), FALSE);
+ g_return_if_fail (FSP_IS_SESSION (self));
/* Ensure we clean the URI of a custom proxy, if present */
if (self->priv->proxy_uri)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]