aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-22 13:11:52 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2011-04-22 13:11:52 +0000
commit2fc740d7d11b3a4ab49a142585dec0dde7c6d892 (patch)
tree6dd30a3e404e273fb0da54673fb468d1b9dd2f1d /plugins/mate
parented3a223400be378a75f6b65c88aaa431967c145b (diff)
Fix (latest) Dead Store (Dead nested assignment) Warning found by Clang
svn path=/trunk/; revision=36802
Diffstat (limited to 'plugins/mate')
-rw-r--r--plugins/mate/packet-mate.c5
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:";