diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-01-16 20:41:23 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-01-16 20:41:23 +0000 |
commit | 7629966a0081f144c7dd62097dd2f75f668ef687 (patch) | |
tree | 32e4d5672f0d3cd7b5eb84edc233af0d3446629f /asn1/rrc | |
parent | 3590fc0713427a20d2233242fdccd8637af9f089 (diff) | |
download | wireshark-7629966a0081f144c7dd62097dd2f75f668ef687.tar.gz |
- Removed some unused variables in asn1 dissectors
- Fixed last parameter to cry_cipher_open() in pkcs12
svn path=/trunk/; revision=24116
Diffstat (limited to 'asn1/rrc')
-rw-r--r-- | asn1/rrc/packet-rrc-template.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/asn1/rrc/packet-rrc-template.c b/asn1/rrc/packet-rrc-template.c index f824a4986a..2f36878228 100644 --- a/asn1/rrc/packet-rrc-template.c +++ b/asn1/rrc/packet-rrc-template.c @@ -81,7 +81,6 @@ dissect_rrc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) */ proto_item *rrc_item = NULL; proto_tree *rrc_tree = NULL; - int offset = 0; top_tree = tree; @@ -89,9 +88,9 @@ dissect_rrc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (check_col(pinfo->cinfo, COL_PROTOCOL)) col_set_str(pinfo->cinfo, COL_PROTOCOL, "RRC"); - /* create the rrc protocol tree */ - rrc_item = proto_tree_add_item(tree, proto_rrc, tvb, 0, -1, FALSE); - rrc_tree = proto_item_add_subtree(rrc_item, ett_rrc); + /* create the rrc protocol tree */ + rrc_item = proto_tree_add_item(tree, proto_rrc, tvb, 0, -1, FALSE); + rrc_tree = proto_item_add_subtree(rrc_item, ett_rrc); } /*--- proto_register_rrc -------------------------------------------*/ |