aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/snmp/packet-snmp-template.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-04-12 09:05:43 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-04-12 09:05:43 +0000
commit42f41ddf0b56fbb885170e06c008407a3378fe13 (patch)
tree3624b34e76a44bcf310fa237c89c6aa2ad5add33 /asn1/snmp/packet-snmp-template.c
parentbbcb51276a1bd325cdc401a344004ce1e237b4c9 (diff)
Corrected switch-case flow.
Coverity 1184. svn path=/trunk/; revision=36579
Diffstat (limited to 'asn1/snmp/packet-snmp-template.c')
-rw-r--r--asn1/snmp/packet-snmp-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/snmp/packet-snmp-template.c b/asn1/snmp/packet-snmp-template.c
index 90e7d59ff4..bd1a9fd0fb 100644
--- a/asn1/snmp/packet-snmp-template.c
+++ b/asn1/snmp/packet-snmp-template.c
@@ -692,11 +692,11 @@ show_oid_index:
case OID_KEY_TYPE_IPADDR: {
guint32* ipv4_p = (void*)buf;
proto_tree_add_ipv4(pt_name,k->hfid,tvb,name_offset,buf_len, *ipv4_p);
+ }
break;
default:
DISSECTOR_ASSERT_NOT_REACHED();
break;
- }
}
key_start += buf_len;