gsm_r_uus1: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Mon, 30 Apr 2018 12:32:22 +0000 (14:32 +0200)
committerAnders Broman <a.broman58@gmail.com>
Tue, 1 May 2018 10:20:46 +0000 (10:20 +0000)
Change-Id: I87b65113a8794b6ab0583c5d0dd4123fa0bd7ba7
Reviewed-on: https://code.wireshark.org/review/27218
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-gsm_r_uus1.c

index faa3d6a55a53165e63e305886f299c25ad355b5c..2f683bcb43cb1361a6b0ad14c3cf3297e446bf14 100644 (file)
@@ -494,7 +494,6 @@ de_gsm_r_uus1_elda(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guin
     // spare
     t_val = tvb_get_bits(tvb, bit_offset, 5, ENC_NA);
     proto_tree_add_uint(sub_tree, hf_gsm_r_uus1_elda_spare, tvb, curr_offset, 4, t_val);
-    bit_offset += 5;
 
     return 16;
 }