mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 16:30:07 +01: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue