aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-07-08 11:50:32 +0200
committerAnders Broman <a.broman58@gmail.com>2014-07-08 10:36:55 +0000
commit033249ec6248c5fd53cc0f7e6b97cde34367b53a (patch)
tree6f26ac61d59e43f83fe877bf851f61240be40243
parent55ce1bc6a65423b31cdd055eb58051d61f7532bb (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Idc6e9cf8f7f4b8e18a50723acbe5dee4c8cb786c Reviewed-on: https://code.wireshark.org/review/2934 Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-h264.c b/epan/dissectors/packet-h264.c
index fa28479113..1e9e91dac7 100644
--- a/epan/dissectors/packet-h264.c
+++ b/epan/dissectors/packet-h264.c
@@ -2146,7 +2146,7 @@ dissect_h264_pacsi(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint off
if (nal_unit_size == 0 || nal_unit_size > tvb_reported_length_remaining(tvb, offset))
{
- item = proto_tree_add_expert(tree, pinfo, &ei_h264_bad_nal_length, tvb, offset-2, 2);
+ proto_tree_add_expert(tree, pinfo, &ei_h264_bad_nal_length, tvb, offset-2, 2);
error = TRUE;
}
else