aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2021-09-05 16:02:26 +0200
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-06 04:21:15 +0000
commita5494200c67c8dbde7d01d8f7e72ae248d53d652 (patch)
treef861711337f9fb4739b354f68ceae7128ea460d0 /epan/dissectors
parent90a060c3392cedd02ec68ebc28320b0ebb0025db (diff)
tiff: Fix Dead Store found by Clang Analyzer
file-tiff.c:794:5: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/file-tiff.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/dissectors/file-tiff.c b/epan/dissectors/file-tiff.c
index 28c365c7db..e23c430563 100644
--- a/epan/dissectors/file-tiff.c
+++ b/epan/dissectors/file-tiff.c
@@ -791,7 +791,6 @@ dissect_tiff_ifd(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint3
proto_tree_add_item(ifd_tree, hf_tiff_ifd_next, tvb, offset, 4, encoding);
guint32 ifd_next = tvb_get_guint32(tvb, offset, encoding);
- offset += 4;
return ifd_next;
}