diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-05-08 17:42:36 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2012-05-08 17:42:36 +0000 |
commit | 3c47f9e73bb3e052ea89c52f8e12f756a8cea027 (patch) | |
tree | 389168bdc816898d571b8b6efddcc5189ecf4cf6 /epan/dissectors/packet-etch.c | |
parent | c16cd8f997cc0b2b7a909e57fe906d39028a8a89 (diff) |
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=42513
Diffstat (limited to 'epan/dissectors/packet-etch.c')
-rw-r--r-- | epan/dissectors/packet-etch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-etch.c b/epan/dissectors/packet-etch.c index b6fbf1d017..b1b679a59e 100644 --- a/epan/dissectors/packet-etch.c +++ b/epan/dissectors/packet-etch.c @@ -397,7 +397,7 @@ read_array_type(unsigned int *offset, tvbuff_t *tvb, proto_tree *etch_tree) read_type(offset, tvb, etch_tree); if (type_code == ETCH_TC_CUSTOM) { - type_code = read_type(offset, tvb, etch_tree); + read_type(offset, tvb, etch_tree); proto_tree_add_item(etch_tree, hf_etch_value, tvb, *offset, 4, ENC_BIG_ENDIAN); (*offset) += 4; |