summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-01-16 13:39:33 +0100
committerThomas Haller <thaller@redhat.com>2015-01-16 13:39:33 +0100
commit05212419e158300e5724e93b7e01255fde0f4478 (patch)
treeb932e0abbfa5178fe0f47f21f3eb2d6ad5c5943f
parentf137d495dc3bd05daeadd4506ef9dfc3204de01d (diff)
downloadNetworkManager-05212419e158300e5724e93b7e01255fde0f4478.tar.gz
libnm-core: fix compile error in set_property_from_dbus() for missing return value
Fixes: 76d9fc91671c50646ecde3de934da47af623a0a1
-rw-r--r--libnm-core/nm-setting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-setting.c b/libnm-core/nm-setting.c
index a80de22061..ab8b0e1923 100644
--- a/libnm-core/nm-setting.c
+++ b/libnm-core/nm-setting.c
@@ -665,7 +665,7 @@ set_property_from_dbus (const NMSettingProperty *property,
GVariant *src_value,
GValue *dst_value)
{
- g_return_if_fail (property->param_spec != NULL);
+ g_return_val_if_fail (property->param_spec != NULL, FALSE);
if (property->from_dbus) {
if (!g_variant_type_equal (g_variant_get_type (src_value), property->dbus_type))