aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-07-21 13:25:17 +0000
committerMichael Mann <mmann78@netscape.net>2017-07-21 15:56:43 +0000
commitd22b54a00587d6a4a5227b93f0461ab4549ea94c (patch)
tree3f94bf6df195c6d17b9b2d0be9d002d5a64f83c8
parentb8b9bbcbd3dc8e7bebd2f7c74996a80f7620d77e (diff)
cql: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I74f4d33ad1805bd233190e7cb9ee1610ae628af5 Reviewed-on: https://code.wireshark.org/review/22755 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--epan/dissectors/packet-cql.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-cql.c b/epan/dissectors/packet-cql.c
index 3740d68b46..5f61007206 100644
--- a/epan/dissectors/packet-cql.c
+++ b/epan/dissectors/packet-cql.c
@@ -1457,9 +1457,6 @@ dissect_cql_tcp_pdu(tvbuff_t* raw_tvb, packet_info* pinfo, proto_tree* tree, voi
proto_tree_add_item_ret_uint(cql_subtree, hf_cql_short_bytes_length, tvb, offset, 2, ENC_BIG_ENDIAN, &bytes_length);
offset += 2;
proto_tree_add_item(cql_subtree, hf_cql_query_id, tvb, offset, bytes_length, ENC_NA);
- offset += bytes_length;
-
-
break;