diff options
author | Ben Chan <benchan@chromium.org> | 2014-02-10 09:23:53 -0800 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-02-10 19:51:18 +0100 |
commit | 50e173ed81ff498e7c0f00dcd11b02e136c8979b (patch) | |
tree | cf75acfd573039192207682fc8dc3c213644acba | |
parent | 3e5ab128bcf286bf80af684414dee5c4c4add009 (diff) | |
download | libmbim-50e173ed81ff498e7c0f00dcd11b02e136c8979b.tar.gz |
libmbim-glib: remove invalid Context Type UUID conversion
This patch removes the following invalid conversion from UUID_DSS to a
MBIM Context Type enumeration type:
mbim-uuid.c:343:16: error: implicit conversion from enumeration type 'MbimService' to
different enumeration type 'MbimContextType' [-Werror,-Wenum-conversion]
return MBIM_SERVICE_DSS;
~~~~~~ ^~~~~~~~~~~~~~~~
-rw-r--r-- | src/libmbim-glib/mbim-uuid.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libmbim-glib/mbim-uuid.c b/src/libmbim-glib/mbim-uuid.c index 7c7160e..f25cf2f 100644 --- a/src/libmbim-glib/mbim-uuid.c +++ b/src/libmbim-glib/mbim-uuid.c @@ -339,9 +339,6 @@ mbim_uuid_from_context_type (MbimContextType context_type) MbimContextType mbim_uuid_to_context_type (const MbimUuid *uuid) { - if (mbim_uuid_cmp (uuid, &uuid_dss)) - return MBIM_SERVICE_DSS; - if (mbim_uuid_cmp (uuid, &uuid_context_type_none)) return MBIM_CONTEXT_TYPE_NONE; |