Fix for bug 1350: Add return value for

dissect_ansi_map_sms_originationrestrictions()

Also close a couple of comments, remove one /* embedded in a comment,
remove a couple unused variables (still lots of unused params in there),
and fix indentation of some proto_item and proto_tree variable declarations.

svn path=/trunk/; revision=20730
This commit is contained in:
Jeff Morriss 2007-02-07 02:41:10 +00:00
parent 8f3630cfb7
commit 0a9304dc6f
2 changed files with 171 additions and 171 deletions

View File

@ -416,7 +416,6 @@ static void
update_saved_invokedata(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb){
struct amsi_map_invokedata_t *ansi_map_saved_invokedata;
struct tcap_private_t *p_private_tcap;
guint32 framenum = (guint32)pinfo->fd->num;
address* src = &(pinfo->src);
address* dst = &(pinfo->dst);
guint8 *src_str;
@ -841,7 +840,7 @@ dissect_ansi_map_subaddress(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* 6.5.2.2 ActionCode
* Table 114 ActionCode value
*
/* 6.5.2.2 ActionCode(TIA/EIA-41.5-D, page 5-129) */
* 6.5.2.2 ActionCode(TIA/EIA-41.5-D, page 5-129) */
static const value_string ansi_map_ActionCode_vals[] = {
{ 0, "Not used"},
@ -2423,6 +2422,8 @@ static const true_false_string ansi_map_SMS_OriginationRestrictions_fmc_bool_val
"Force Indirect",
"No effect"
};
static void
dissect_ansi_map_sms_originationrestrictions(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree){
int offset = 0;
@ -3162,7 +3163,6 @@ static const true_false_string ansi_map_Availability_bool_val = {
static void
dissect_ansi_map_callingpartyname(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree){
int offset = 0;
proto_item *item;
proto_tree *subtree;
@ -3390,7 +3390,7 @@ static const value_string ansi_ACGEncountered_cntrl_type_vals[] = {
{ 0, NULL }
};
/* 6.5.2.fw ControlType N.S0023-0 v 1.0 *
/* 6.5.2.fw ControlType N.S0023-0 v 1.0 */

View File

@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Wireshark dissector compiler */
/* .\packet-ansi_map.c */
/* ./packet-ansi_map.c */
/* ../../tools/asn2wrs.py -b -e -p ansi_map -c ansi_map.cnf -s packet-ansi_map-template ansi_map.asn */
/* Input file: packet-ansi_map-template.c */
@ -1145,7 +1145,6 @@ static void
update_saved_invokedata(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb){
struct amsi_map_invokedata_t *ansi_map_saved_invokedata;
struct tcap_private_t *p_private_tcap;
guint32 framenum = (guint32)pinfo->fd->num;
address* src = &(pinfo->src);
address* dst = &(pinfo->dst);
guint8 *src_str;
@ -1570,7 +1569,7 @@ dissect_ansi_map_subaddress(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
* 6.5.2.2 ActionCode
* Table 114 ActionCode value
*
/* 6.5.2.2 ActionCode(TIA/EIA-41.5-D, page 5-129) */
* 6.5.2.2 ActionCode(TIA/EIA-41.5-D, page 5-129) */
static const value_string ansi_map_ActionCode_vals[] = {
{ 0, "Not used"},
@ -3152,6 +3151,8 @@ static const true_false_string ansi_map_SMS_OriginationRestrictions_fmc_bool_val
"Force Indirect",
"No effect"
};
static void
dissect_ansi_map_sms_originationrestrictions(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree){
int offset = 0;
@ -3891,7 +3892,6 @@ static const true_false_string ansi_map_Availability_bool_val = {
static void
dissect_ansi_map_callingpartyname(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree){
int offset = 0;
proto_item *item;
proto_tree *subtree;
@ -4119,7 +4119,7 @@ static const value_string ansi_ACGEncountered_cntrl_type_vals[] = {
{ 0, NULL }
};
/* 6.5.2.fw ControlType N.S0023-0 v 1.0 *
/* 6.5.2.fw ControlType N.S0023-0 v 1.0 */