diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-18 12:07:45 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2021-05-18 14:51:05 +0200 |
commit | a325acd6b1ae3376bb0f9f3eb83ce44617115a55 (patch) | |
tree | c7512d190e8e660c7a3b2c003ba3645679d013fa /libmm-glib/mm-bearer-properties.c | |
parent | 268cab885b62526bb97794cb6b9e8b0f97084841 (diff) |
libmm-glib: remove unused cmp_allow_roaming() method
mm-bearer-properties.c:725:1: warning: 'cmp_allow_roaming' defined but not used [-Wunused-function]
cmp_allow_roaming (gboolean a,
^~~~~~~~~~~~~~~~~
Diffstat (limited to 'libmm-glib/mm-bearer-properties.c')
-rw-r--r-- | libmm-glib/mm-bearer-properties.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/libmm-glib/mm-bearer-properties.c b/libmm-glib/mm-bearer-properties.c index c201373e..1864d256 100644 --- a/libmm-glib/mm-bearer-properties.c +++ b/libmm-glib/mm-bearer-properties.c @@ -806,25 +806,6 @@ cmp_allowed_auth (MMBearerAllowedAuth a, return FALSE; } -static gboolean -cmp_allow_roaming (gboolean a, - gboolean a_set, - gboolean b, - gboolean b_set, - MMBearerPropertiesCmpFlags flags) -{ - /* Strict match */ - if (a == b && a_set == b_set) - return TRUE; - /* Additional loose match UNSET == */ - if (flags & MM_BEARER_PROPERTIES_CMP_FLAGS_LOOSE) { - if ((a == MM_BEARER_ALLOWED_AUTH_UNKNOWN && b == MM_BEARER_ALLOWED_AUTH_NONE) || - (b == MM_BEARER_ALLOWED_AUTH_UNKNOWN && a == MM_BEARER_ALLOWED_AUTH_NONE)) - return TRUE; - } - return FALSE; -} - /** * mm_bearer_properties_cmp: (skip) */ |