diff options
author | alagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-22 13:11:52 +0000 |
---|---|---|
committer | alagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-04-22 13:11:52 +0000 |
commit | 6ca3db13c1f7375f04fee790eff9bdfcbca1d396 (patch) | |
tree | 6dd30a3e404e273fb0da54673fb468d1b9dd2f1d /plugins | |
parent | d74c6334ca32471dd217c32212ce5809fa7b55d4 (diff) |
Fix (latest) Dead Store (Dead nested assignment) Warning found by Clang
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36802 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/packet-mate.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/mate/packet-mate.c b/plugins/mate/packet-mate.c index ad6b58dd8d..94509452f2 100644 --- a/plugins/mate/packet-mate.c +++ b/plugins/mate/packet-mate.c @@ -193,8 +193,7 @@ static void mate_gop_tree(proto_tree* tree, tvbuff_t *tvb, mate_gop* gop) { proto_item *gop_pdu_item; proto_tree *gop_pdu_tree; mate_pdu* gop_pdus; - float rel_time; - float gop_time; + float rel_time; float pdu_rel_time; const gchar* pdu_str; const gchar* type_str; @@ -227,7 +226,7 @@ static void mate_gop_tree(proto_tree* tree, tvbuff_t *tvb, mate_gop* gop) { gop_pdu_tree = proto_item_add_subtree(gop_pdu_item, gop->cfg->ett_children); - rel_time = gop_time = gop->start_time; + rel_time = gop->start_time; type_str = (gop->cfg->pdu_tree_mode == GOP_FRAME_TREE ) ? "in frame:" : "id:"; |