Commit e1b824b8 authored by Thomas Haller's avatar Thomas Haller

shared: fix return in nm_value_type_to_variant()/nm_value_type_get_variant_type()

Fixes: 75703a24 ('shared: add accessor functions for NMValueType')
parent 51793569
......@@ -178,6 +178,7 @@ nm_value_type_to_variant (NMValueType value_type,
break;
}
nm_assert_not_reached ();
return NULL;
}
static inline const GVariantType *
......@@ -197,6 +198,7 @@ nm_value_type_get_variant_type (NMValueType value_type)
break;
}
nm_assert_not_reached ();
return NULL;
}
/*****************************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment