aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bacapp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-03-05 16:08:21 +0100
committerMichael Mann <mmann78@netscape.net>2017-03-05 21:46:38 +0000
commitc4245d835c40b0330c26a6a04c87ddef37ebe7f5 (patch)
treea191522e08dac39364b37a110e6d6c35ff9b5610 /epan/dissectors/packet-bacapp.c
parentd557643193ccb240c2936fa77626d8bb27148f82 (diff)
bacapp: fix this statement may fall through [-Werror=implicit-fallthrough=] found by gcc7
Change-Id: I35174c0a94f4fc36435541b136f4f899e24e6867 Reviewed-on: https://code.wireshark.org/review/20398 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-bacapp.c')
-rw-r--r--epan/dissectors/packet-bacapp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bacapp.c b/epan/dissectors/packet-bacapp.c
index b2812d0293..7bae7c53eb 100644
--- a/epan/dissectors/packet-bacapp.c
+++ b/epan/dissectors/packet-bacapp.c
@@ -7150,7 +7150,7 @@ fAbstractSyntaxNType(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint
offset = fReadAccessResult(tvb, pinfo, tree, offset);
break;
}
- /* intentially fall through here so don't reorder this case statement */
+ /* intentionally fall through */ /* here so don't reorder this case statement */
default:
if (tag_info) {
if (tag_is_opening(tag_info)) {
@@ -9674,6 +9674,7 @@ fPropertyReference(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint of
case 1: /* propertyArrayIndex */
offset = fPropertyArrayIndex(tvb, pinfo, tree, offset);
if (list != 0) break; /* Continue decoding if this may be a list */
+ break;
default:
lastoffset = offset; /* Set loop end condition */
break;
@@ -9705,6 +9706,7 @@ fBACnetObjectPropertyReference(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
case 1: /* PropertyIdentifier and propertyArrayIndex */
offset = fPropertyReference(tvb, pinfo, tree, offset, 1, 0);
col_set_writable(pinfo->cinfo, COL_INFO, FALSE); /* don't set all infos into INFO column */
+ break;
default:
lastoffset = offset; /* Set loop end condition */
break;