zvt: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Tue, 6 Sep 2016 08:13:20 +0000 (10:13 +0200)
committerMartin Kaiser <wireshark@kaiser.cx>
Tue, 6 Sep 2016 10:19:02 +0000 (10:19 +0000)
Change-Id: I68b4fa08a7f65b92e56a6e72a6bb113e72ee33da
Reviewed-on: https://code.wireshark.org/review/17524
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
epan/dissectors/packet-zvt.c

index 3bd01535bb25473a4e3562fd95454ef912f53fdc..0d371788c98e80428ed8282b453e25863e3f2c1b 100644 (file)
@@ -504,7 +504,6 @@ static void dissect_zvt_init(
         proto_tree *tree, zvt_transaction_t *zvt_trans _U_)
 {
     proto_tree_add_item(tree, hf_zvt_pwd, tvb, offset, 3, ENC_NA);
-    offset += 3;
 }