diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2014-01-15 08:51:53 +0000 |
---|---|---|
committer | Olivier Crête <olivier.crete@collabora.com> | 2014-01-31 01:48:57 -0500 |
commit | c796e9d8c86af7a4a2c1ab36d4809e5070644272 (patch) | |
tree | b3e733ee458a5240d335e9c211c53cb19130a97f /tests/test-new-dribble.c | |
parent | fd6aa7b2617db328eee0ae42068d3a558e1a4f32 (diff) | |
download | libnice-c796e9d8c86af7a4a2c1ab36d4809e5070644272.tar.gz |
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.
Diffstat (limited to 'tests/test-new-dribble.c')
-rw-r--r-- | tests/test-new-dribble.c | 8 |
1 files changed, 8 insertions, 0 deletions
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)) { |