aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2021-09-07 11:16:29 +0200
committerAleksander Morgado <aleksander@aleksander.es>2021-09-07 10:55:43 +0000
commitf8bf6673dbff37156447c0f6d072da784031b11c (patch)
tree41f3c84c26285ef7fc6c54920fe6d7312b0af6ba
parent12ada441567a48f0aacf4c0d3d42e46fbf956917 (diff)
libmm-glib,3gpp-profile: fix profile comparison logic
Conveniently warned by the compiler... ../libmm-glib/mm-3gpp-profile.c: In function ‘mm_3gpp_profile_cmp’: ../libmm-glib/mm-3gpp-profile.c:98:1: warning: control reaches end of non-void function [-Wreturn-type] 98 | } | ^
-rw-r--r--libmm-glib/mm-3gpp-profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmm-glib/mm-3gpp-profile.c b/libmm-glib/mm-3gpp-profile.c
index 2694239b..2d00cee3 100644
--- a/libmm-glib/mm-3gpp-profile.c
+++ b/libmm-glib/mm-3gpp-profile.c
@@ -95,6 +95,8 @@ mm_3gpp_profile_cmp (MM3gppProfile *a,
if (!(flags & MM_3GPP_PROFILE_CMP_FLAGS_NO_APN_TYPE) &&
(a->priv->apn_type != b->priv->apn_type))
return FALSE;
+
+ return TRUE;
}
/*****************************************************************************/