aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-05-09 11:37:02 +0200
committerAnders Broman <a.broman58@gmail.com>2017-05-09 11:34:33 +0000
commita7b0674076cdf034cc44fe97572e3a8f6e0e837f (patch)
treed59f9ab2d88e07a44253adf2fb82eec6755b9cc9
parentfb44c8ced518aa72ce35d6402ceef70da117f343 (diff)
nm: Fix Dead Store (Dead assignement/Dead increment) Warning found by Clang
Change-Id: I7592737477e105870ef43118f40c0ab552c81626 Reviewed-on: https://code.wireshark.org/review/21565 Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-udp-nm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-udp-nm.c b/epan/dissectors/packet-udp-nm.c
index 677e93675e..ed7b9f1ea2 100644
--- a/epan/dissectors/packet-udp-nm.c
+++ b/epan/dissectors/packet-udp-nm.c
@@ -421,7 +421,7 @@ dissect_udp_nm(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void *da
}
else {
if (udp_nm_subtree != NULL) {
- ti = proto_tree_add_item(udp_nm_subtree, *hf_id, tvb, offset, length, ENC_BIG_ENDIAN);
+ proto_tree_add_item(udp_nm_subtree, *hf_id, tvb, offset, length, ENC_BIG_ENDIAN);
}
}
}