aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-giop.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-04-18 15:56:58 +0200
committerAnders Broman <a.broman58@gmail.com>2015-04-18 14:53:57 +0000
commit735f08a051637d68c51fa9f644dbb4acc2299457 (patch)
treed7522782cab2a28a4c2092aadc1aece79422f899 /epan/dissectors/packet-giop.c
parent4b65a8dcd3e92a355ed86552668f4de8f24edcd2 (diff)
GIOP: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: I5cd8fe72e6288578d4fa316096dfa606bf3e7aea Reviewed-on: https://code.wireshark.org/review/8116 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-giop.c')
-rw-r--r--epan/dissectors/packet-giop.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c
index 34d496b851..ad8d970984 100644
--- a/epan/dissectors/packet-giop.c
+++ b/epan/dissectors/packet-giop.c
@@ -4822,9 +4822,6 @@ static int dissect_giop_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree
payload_tvb = tvb_new_subset_remaining (tvb, GIOP_HEADER_SIZE);
}
-
- message_type = header.message_type;
-
if(giop_reassemble) {
/* This is a fragmented message - try and put it back together */
fragment_head *fd_head = NULL;