diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2005-02-18 20:11:30 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2005-02-18 20:11:30 +0000 |
commit | 9151efab45fb9618ce72f0e118d36caf4663887e (patch) | |
tree | 540def84b0f47ef6820c9a99566633580b866e49 /plugins | |
parent | f7a7af313d41f89bbdee83699cd88eec2edec13d (diff) |
Get rid of some useless lines from the last patch
svn path=/trunk/; revision=13424
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mate/packet-mate.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/mate/packet-mate.c b/plugins/mate/packet-mate.c index 1745f8d487..471ccb78b9 100644 --- a/plugins/mate/packet-mate.c +++ b/plugins/mate/packet-mate.c @@ -105,7 +105,6 @@ void mate_gog_tree(proto_tree* tree, tvbuff_t *tvb, mate_gog* gog, mate_gop* gop if (gop != gog_gops) { if (gog->cfg->gop_as_subtree) { mate_gop_tree(gog_gops_tree, tvb, gog_gops); - gog_gop_item = NULL; } else { gog_gop_item = proto_tree_add_uint(gog_gops_tree,gog_gops->cfg->hfid,tvb,0,0,gog_gops->id); @@ -116,11 +115,7 @@ void mate_gog_tree(proto_tree* tree, tvbuff_t *tvb, mate_gog* gog, mate_gop* gop } } else { - gog_gop_item = proto_tree_add_uint_format(gog_gops_tree,gop->cfg->hfid,tvb,0,0,gop->id,"%s of current frame: %d",gop->cfg->name,gop->id); - } - - if (gog_gop_item) { - + proto_tree_add_uint_format(gog_gops_tree,gop->cfg->hfid,tvb,0,0,gop->id,"%s of current frame: %d",gop->cfg->name,gop->id); } } } |