diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-03-26 19:12:00 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-03-26 22:19:10 +0000 |
commit | 9dd085d3d675b649cf7d0f9122fcdfcc88a21f2a (patch) | |
tree | 957bfb64afe03a786e16e47c20b74cbaafd33108 /plugins | |
parent | 6bef7ffc89d63db35791003e1aeecdeb091dcb3e (diff) |
ethercat: Fix Control flow issues MISSING_BREAK (CID 1357204)
Change-Id: I7efc9b4b44590e3408ba058d7aa02f843cbfeca4
Reviewed-on: https://code.wireshark.org/review/14642
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ethercat/packet-ethercat-datagram.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ethercat/packet-ethercat-datagram.c b/plugins/ethercat/packet-ethercat-datagram.c index 67ab94afcf..077220df5d 100644 --- a/plugins/ethercat/packet-ethercat-datagram.c +++ b/plugins/ethercat/packet-ethercat-datagram.c @@ -1223,6 +1223,7 @@ static int dissect_esc_register(packet_info* pinfo, proto_tree *tree, tvbuff_t * case EC_CMD_TYPE_BRD: case EC_CMD_TYPE_FPRD: read = 1; + /* Fall through */ case EC_CMD_TYPE_APWR: case EC_CMD_TYPE_APRW: case EC_CMD_TYPE_FPWR: |