diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-07-15 18:03:54 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-07-15 18:03:54 +0000 |
commit | cde1b3d4bba6daf45d255cf71d4187dd09cd4f6f (patch) | |
tree | 09cdb3df1be3c49e4213ff717981b77327df5e10 /epan/dissectors/packet-dis-pdus.c | |
parent | 779c37aa2067d2ea639fdb5da61c9105f2f79771 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=50618
Diffstat (limited to 'epan/dissectors/packet-dis-pdus.c')
-rw-r--r-- | epan/dissectors/packet-dis-pdus.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-dis-pdus.c b/epan/dissectors/packet-dis-pdus.c index 241de23ef2..939c7592a4 100644 --- a/epan/dissectors/packet-dis-pdus.c +++ b/epan/dissectors/packet-dis-pdus.c @@ -813,22 +813,18 @@ gint parseFields(tvbuff_t *tvb, proto_tree *tree, gint offset, DIS_ParserNode pa *(parserNodes[fieldIndex].outputVar) = (guint32)uintVal; break; case DIS_FIELDTYPE_PDU_LENGTH: - uintVal = tvb_get_ntohs(tvb, offset); proto_tree_add_item(tree, hf_dis_pdu_length, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; break; case DIS_FIELDTYPE_SITE: - uintVal = tvb_get_ntohs(tvb, offset); proto_tree_add_item(tree, hf_dis_entity_id_site, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; break; case DIS_FIELDTYPE_APPLICATION: - uintVal = tvb_get_ntohs(tvb, offset); proto_tree_add_item(tree, hf_dis_entity_id_application, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; break; case DIS_FIELDTYPE_ENTITY: - uintVal = tvb_get_ntohs(tvb, offset); proto_tree_add_item(tree, hf_dis_entity_id_entity, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; break; |