aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2018-03-08 10:13:50 +0100
committerAnders Broman <a.broman58@gmail.com>2018-03-08 12:42:27 +0000
commit7ddfccec199f21bb9d9f23ff99e663299371a395 (patch)
treeea92a748033512c50c3ea0b4d99e61c48b429510 /plugins
parent6a62e2d22d5f83455aba2b619714409983498fc8 (diff)
gryphon: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I08b59156dbe537c6c4a6b3502ab469c88e984b67 Reviewed-on: https://code.wireshark.org/review/26357 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/epan/gryphon/packet-gryphon.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/epan/gryphon/packet-gryphon.c b/plugins/epan/gryphon/packet-gryphon.c
index d5191a67e6..a33b5ab7f7 100644
--- a/plugins/epan/gryphon/packet-gryphon.c
+++ b/plugins/epan/gryphon/packet-gryphon.c
@@ -2850,7 +2850,6 @@ cmd_ldf_get_frame_info(tvbuff_t *tvb, int offset, proto_tree *pt)
string = tvb_get_stringz_enc(wmem_packet_scope(), tvb, offset, &length, ENC_ASCII);
if(length > 1) {
proto_tree_add_string(pt, hf_gryphon_ldf_get_frame, tvb, offset, length, string);
- id = tvb_get_guint8(tvb, offset);
offset += length;
proto_tree_add_uint_format_value(pt, hf_gryphon_ldf_ioctl_setflags_flags, tvb, offset, 1, 0, "(Id not used)");
offset += 1;