[gupnp] Fix build failure for lack of return value
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp] Fix build failure for lack of return value
- Date: Mon, 5 Nov 2012 10:26:24 +0000 (UTC)
commit 5550411614b06b06f69d66d609b06da79e4e4091
Author: Stef Walter <stefw gnome org>
Date: Mon Nov 5 11:05:57 2012 +0100
Fix build failure for lack of return value
https://bugzilla.gnome.org/show_bug.cgi?id=687621
libgupnp/gupnp-context-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgupnp/gupnp-context-manager.c b/libgupnp/gupnp-context-manager.c
index 45f6252..709f6d5 100644
--- a/libgupnp/gupnp-context-manager.c
+++ b/libgupnp/gupnp-context-manager.c
@@ -430,7 +430,7 @@ gupnp_context_manager_manage_root_device (GUPnPContextManager *manager,
guint
gupnp_context_manager_get_port (GUPnPContextManager *manager)
{
- g_return_if_fail (GUPNP_IS_CONTEXT_MANAGER (manager));
+ g_return_val_if_fail (GUPNP_IS_CONTEXT_MANAGER (manager), 0);
return manager->priv->port;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]