aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lldp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-05-06 21:10:21 +0200
committerAnders Broman <a.broman58@gmail.com>2014-05-06 19:27:23 +0000
commitd73fc0b2945196dd4a32b3797d5881182fc83d36 (patch)
treefb7d4cebd44e72e09820b5cc322701f2f28f4fde /epan/dissectors/packet-lldp.c
parentc0fbe0d83272b8f2a2957a3781ea91629b309800 (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Ib4bbf1fa048cde14baf10bd31342b3c75e10b544 Reviewed-on: https://code.wireshark.org/review/1534 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-lldp.c')
-rw-r--r--epan/dissectors/packet-lldp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lldp.c b/epan/dissectors/packet-lldp.c
index 1399a9efbe..0b716f7505 100644
--- a/epan/dissectors/packet-lldp.c
+++ b/epan/dissectors/packet-lldp.c
@@ -1273,8 +1273,6 @@ dissect_lldp_system_name(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree
proto_tree_add_item(system_subtree, hf_lldp_tlv_system_name, tvb, offset, tempLen, ENC_ASCII|ENC_NA);
else
proto_tree_add_item(system_subtree, hf_lldp_tlv_system_desc, tvb, offset, tempLen, ENC_ASCII|ENC_NA);
-
- offset += tempLen;
}
return (tempLen + 2);