summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Bellet <fabrice@bellet.info>2017-05-28 22:20:36 +0200
committerOlivier CrĂȘte <olivier.crete@collabora.com>2017-06-21 16:05:57 -0400
commitb4b8d6628c8c5d4f10af0101f846db4938a3f6c4 (patch)
treeb45d1cb5a1f4e388eac0a22ee3e7cc98b0b3ba33
parent195db6b344fc4f9fadc39419dfeec2fc14b23fac (diff)
downloadlibnice-b4b8d6628c8c5d4f10af0101f846db4938a3f6c4.tar.gz
stun: fix gcc7 implicit fallthrough warning
Differential Revision: https://phabricator.freedesktop.org/D1754
-rw-r--r--stun/stunmessage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stun/stunmessage.c b/stun/stunmessage.c
index e8184c4..4cc3392 100644
--- a/stun/stunmessage.c
+++ b/stun/stunmessage.c
@@ -120,6 +120,7 @@ stun_message_find (const StunMessage *msg, StunAttribute type,
/* Only fingerprint may come after M-I */
if (type == STUN_ATTRIBUTE_FINGERPRINT)
break;
+ return NULL;
case STUN_ATTRIBUTE_FINGERPRINT:
/* Nothing may come after FPR */