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:
@@ -178,6 +178,7 @@ nm_value_type_to_variant (NMValueType value_type,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
nm_assert_not_reached ();
|
nm_assert_not_reached ();
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline const GVariantType *
|
static inline const GVariantType *
|
||||||
@@ -197,6 +198,7 @@ nm_value_type_get_variant_type (NMValueType value_type)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
nm_assert_not_reached ();
|
nm_assert_not_reached ();
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
Reference in New Issue
Block a user