diff options
author | Thomas Haller <thaller@redhat.com> | 2019-05-27 13:26:21 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-05-27 13:27:13 +0200 |
commit | e1b824b871b40d7f033ebd2fcbe80331b0b14e4c (patch) | |
tree | 531b066a78ad84113c8aa8ebdb5d24df8108087a | |
parent | 51793569e18e7b7b71cdff92d8fe513f973f6e78 (diff) | |
download | NetworkManager-e1b824b871b40d7f033ebd2fcbe80331b0b14e4c.tar.gz |
shared: fix return in nm_value_type_to_variant()/nm_value_type_get_variant_type()
Fixes: 75703a242563 ('shared: add accessor functions for NMValueType')
-rw-r--r-- | shared/nm-glib-aux/nm-value-type.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/nm-glib-aux/nm-value-type.h b/shared/nm-glib-aux/nm-value-type.h index a25d7a5635..b4d6898f76 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; } /*****************************************************************************/ |