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 /epan/dissectors/packet-rrc.c | |
parent | 3590fc0713427a20d2233242fdccd8637af9f089 (diff) | |
download | wireshark-7629966a0081f144c7dd62097dd2f75f668ef687.tar.gz wireshark-7629966a0081f144c7dd62097dd2f75f668ef687.tar.bz2 wireshark-7629966a0081f144c7dd62097dd2f75f668ef687.zip |
- Removed some unused variables in asn1 dissectors
- Fixed last parameter to cry_cipher_open() in pkcs12
svn path=/trunk/; revision=24116
Diffstat (limited to 'epan/dissectors/packet-rrc.c')
-rw-r--r-- | epan/dissectors/packet-rrc.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/epan/dissectors/packet-rrc.c b/epan/dissectors/packet-rrc.c index 68ed41318d..ec146862a8 100644 --- a/epan/dissectors/packet-rrc.c +++ b/epan/dissectors/packet-rrc.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-rrc.c */ -/* ../../tools/asn2wrs.py -p rrc -c rrc.cnf -s packet-rrc-template Class-definitions.asn PDU-definitions.asn InformationElements.asn Constant-definitions.asn Internode-definitions.asn */ +/* ../../tools/asn2wrs.py -p rrc -c ./rrc.cnf -s ./packet-rrc-template -D . Class-definitions.asn PDU-definitions.asn InformationElements.asn Constant-definitions.asn Internode-definitions.asn */ /* Input file: packet-rrc-template.c */ @@ -88099,7 +88099,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; @@ -88107,9 +88106,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 -------------------------------------------*/ @@ -112131,7 +112130,7 @@ void proto_register_rrc(void) { "", HFILL }}, /*--- End of included file: packet-rrc-hfarr.c ---*/ -#line 104 "packet-rrc-template.c" +#line 103 "packet-rrc-template.c" }; /* List of subtrees */ @@ -115956,7 +115955,7 @@ void proto_register_rrc(void) { &ett_rrc_UL_RFC3095_Context, /*--- End of included file: packet-rrc-ettarr.c ---*/ -#line 110 "packet-rrc-template.c" +#line 109 "packet-rrc-template.c" }; @@ -115986,7 +115985,7 @@ void proto_register_rrc(void) { /*--- End of included file: packet-rrc-dis-reg.c ---*/ -#line 123 "packet-rrc-template.c" +#line 122 "packet-rrc-template.c" } |