[Pkg-telepathy-commits] [libnice] 60/265: tests: Add missing switch cases
Simon McVittie
smcv at debian.org
Wed May 14 12:04:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository libnice.
commit c796e9d8c86af7a4a2c1ab36d4809e5070644272
Author: Philip Withnall <philip.withnall at collabora.co.uk>
Date: Wed Jan 15 08:51:53 2014 +0000
tests: Add missing switch cases
This appeases GCC’s -Wswitch-enum warning, and makes it more obvious
that those enum cases have been explicitly considered, rather than just
forgotten about.
This introduces no functional changes.
---
tests/test-new-dribble.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/test-new-dribble.c b/tests/test-new-dribble.c
index f06e8bc..6c83091 100644
--- a/tests/test-new-dribble.c
+++ b/tests/test-new-dribble.c
@@ -185,6 +185,14 @@ recv_packet:
&addr.addr, addr_len);
break;
+ case STUN_SHARED_SECRET:
+ case STUN_ALLOCATE:
+ case STUN_SET_ACTIVE_DST:
+ case STUN_CONNECT:
+ case STUN_OLD_SET_ACTIVE_DST:
+ case STUN_IND_DATA:
+ case STUN_IND_CONNECT_STATUS:
+ case STUN_CHANNELBIND:
default:
if (!stun_agent_init_error (agent, &response, buf, sizeof (buf),
&request, STUN_ERROR_BAD_REQUEST)) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git
More information about the Pkg-telepathy-commits
mailing list