diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-06-07 12:01:12 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-06-07 16:24:39 +0000 |
commit | f22c620abe1862c43c5dcaacd6b68608f900e536 (patch) | |
tree | edbf2c4b9d860473a4992df20d72814a019234de /epan/dissectors/packet-rsl.c | |
parent | e82fa761d671fd4e1c6cdeccd57473fb18982e87 (diff) | |
download | wireshark-f22c620abe1862c43c5dcaacd6b68608f900e536.tar.gz |
rsl: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I0ab6056a5241c53dba8b569905e29a9ab9d9f265
Reviewed-on: https://code.wireshark.org/review/22001
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Reviewed-by: Piotr Tulpan <piotr.tulpan@netscan.pl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-rsl.c')
-rw-r--r-- | epan/dissectors/packet-rsl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rsl.c b/epan/dissectors/packet-rsl.c index 246789ca3d..93bba02712 100644 --- a/epan/dissectors/packet-rsl.c +++ b/epan/dissectors/packet-rsl.c @@ -3165,8 +3165,6 @@ dissect_rsl_paging_package(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tr guint8 i, length, paging_type; gboolean increse_offset = TRUE; - length = 0; - paging_type = 0; for(i = 1; i <= package_number; i++){ /* Calculating whole length of Paging Package Info */ length = (tvb_get_guint8(tvb, offset+2) + 3); |