diff --git a/shared/nm-glib-aux/nm-value-type.h b/shared/nm-glib-aux/nm-value-type.h index a25d7a563..b4d6898f7 100644 --- a/shared/nm-glib-aux/nm-value-type.h +++ b/shared/nm-glib-aux/nm-value-type.h @@ -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; } /*****************************************************************************/