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:
Thomas Haller 2019-05-27 13:26:21 +02:00
parent 51793569e1
commit e1b824b871

View file

@ -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;
}
/*****************************************************************************/