aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-adb_cs.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-10-28 00:10:24 +0100
committerEvan Huus <eapache@gmail.com>2014-10-28 01:24:09 +0000
commit60172fad24f9f0a50720d028e4691fab1196b0ce (patch)
tree33e5b04628f844d493c5826961ea96a2a91af3f1 /epan/dissectors/packet-adb_cs.c
parentc5e66b172e1a2e3788e4a9500ae0d5bad7871f5c (diff)
ADB_cs: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I88e191c9eaf5f81b3d6d905ec9e7b7d27f0d21a3 Reviewed-on: https://code.wireshark.org/review/4962 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-adb_cs.c')
-rw-r--r--epan/dissectors/packet-adb_cs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/packet-adb_cs.c b/epan/dissectors/packet-adb_cs.c
index 10c824e62e..197eb0715b 100644
--- a/epan/dissectors/packet-adb_cs.c
+++ b/epan/dissectors/packet-adb_cs.c
@@ -166,7 +166,6 @@ dissect_adb_cs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
if (length == -1 && service) {
col_append_fstr(pinfo->cinfo, COL_INFO, " Service=<%s>", service);
- length = tvb_captured_length(tvb);
/* Decode services */
adb_service_data.service = service;