mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
shared: fix return in nm_value_type_to_variant()/nm_value_type_get_variant_type()
Fixes: 75703a2425
('shared: add accessor functions for NMValueType')
This commit is contained in:
parent
51793569e1
commit
e1b824b871
|
@ -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;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue