libnm-core: fix compile error in set_property_from_dbus() for missing return value

Fixes: 76d9fc9167
(cherry picked from commit 05212419e1)
This commit is contained in:
Thomas Haller 2015-01-16 13:39:33 +01:00 committed by Jiří Klimeš
parent 713bcf0282
commit e7a3424c9e

View file

@ -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))