aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-coap.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2011-03-27 13:35:30 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2011-03-27 13:35:30 +0000
commit8ce65d5deea24b91b3841bcecf5717127504a5a2 (patch)
treeae46d02c3060cd0e9552aeada5758b16db0a49b2 /epan/dissectors/packet-coap.c
parent31b37eec2dc237afcd37a376f6caa912cd7dd7cb (diff)
Added some missing breaks.
Coverity 447. svn path=/trunk/; revision=36360
Diffstat (limited to 'epan/dissectors/packet-coap.c')
-rw-r--r--epan/dissectors/packet-coap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-coap.c b/epan/dissectors/packet-coap.c
index 6a250efbfb..6ceb229e1f 100644
--- a/epan/dissectors/packet-coap.c
+++ b/epan/dissectors/packet-coap.c
@@ -333,8 +333,10 @@ dissect_coap_options(tvbuff_t *tvb, packet_info *pinfo, proto_tree *coap_tree, g
break;
case COAP_OPT_URI_QUERY:
dissect_coap_opt(tvb, subtree, offset, opt_length, hf_coap_opt_uri_query);
+ break;
default:
proto_tree_add_text(subtree, tvb, 0, 0, "Unkown Option Type");
+ break;
}
}