From f8bf6673dbff37156447c0f6d072da784031b11c Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 7 Sep 2021 11:16:29 +0200 Subject: [PATCH] libmm-glib,3gpp-profile: fix profile comparison logic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | } | ^ --- libmm-glib/mm-3gpp-profile.c | 2 ++ 1 file changed, 2 insertions(+) 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; } /*****************************************************************************/