From 05212419e158300e5724e93b7e01255fde0f4478 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 16 Jan 2015 13:39:33 +0100 Subject: [PATCH] libnm-core: fix compile error in set_property_from_dbus() for missing return value Fixes: 76d9fc91671c50646ecde3de934da47af623a0a1 --- libnm-core/nm-setting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-core/nm-setting.c b/libnm-core/nm-setting.c index a80de2206..ab8b0e192 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))