Get rid of set-but-not-used warnings.

svn path=/trunk/; revision=39761
This commit is contained in:
Anders Broman 2011-11-08 17:39:01 +00:00
parent a45b165df6
commit 0e57cff4dc
2 changed files with 4 additions and 22 deletions

View File

@ -301,11 +301,9 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
# rules which are specified for the target radio system. In section 8.4.1.2,
# it is described how the container shall be encoded with respect to the scenario
# in which it is used.
gint32 start_offset;
tvbuff_t *parameter_tvb;
proto_tree *subtree;
start_offset = offset;
%(DEFAULT_BODY)s
subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_ToTargetTransparentContainer);
@ -356,11 +354,9 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
# I think the message is "directly encoded" into the octest string(no "double encoding")
# See Target-ToSource-TransparentContainer in RANAP
gint32 start_offset;
tvbuff_t *parameter_tvb;
proto_tree *subtree;
start_offset = offset;
%(DEFAULT_BODY)s
subtree = proto_item_add_subtree(actx->created_item, ett_s1ap_ToSourceTransparentContainer);
@ -444,11 +440,9 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
# Target eNB to Source eNB Transparent Container is present in
# HandoverCommand and HandoverRequestAcknowledge.
gint32 start_offset;
tvbuff_t *parameter_tvb;
proto_tree *subtree;
start_offset = offset;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;
@ -472,12 +466,9 @@ MAX_VAL = asn1_param_get_integer(%(ACTX)s,"upperBound")
#.FN_BODY UERadioCapability VAL_PTR = &parameter_tvb
gint32 start_offset;
tvbuff_t *parameter_tvb;
proto_tree *subtree;
start_offset = offset;
%(DEFAULT_BODY)s
if (!parameter_tvb)
return offset;

View File

@ -3688,7 +3688,7 @@ dissect_s1ap_RequestType(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_
static int
dissect_s1ap_RIMInformation(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 491 "../../asn1/s1ap/s1ap.cnf"
#line 482 "../../asn1/s1ap/s1ap.cnf"
tvbuff_t *parameter_tvb;
proto_tree *subtree;
@ -3791,14 +3791,12 @@ dissect_s1ap_RepetitionPeriod(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *act
static int
dissect_s1ap_RRC_Container(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 415 "../../asn1/s1ap/s1ap.cnf"
#line 411 "../../asn1/s1ap/s1ap.cnf"
gint32 start_offset;
tvbuff_t *parameter_tvb;
proto_tree *subtree;
start_offset = offset;
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
NO_BOUND, NO_BOUND, FALSE, &parameter_tvb);
@ -4025,11 +4023,9 @@ dissect_s1ap_SONConfigurationTransfer(tvbuff_t *tvb _U_, int offset _U_, asn1_ct
static int
dissect_s1ap_Source_ToTarget_TransparentContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 304 "../../asn1/s1ap/s1ap.cnf"
gint32 start_offset;
tvbuff_t *parameter_tvb;
proto_tree *subtree;
start_offset = offset;
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
NO_BOUND, NO_BOUND, FALSE, &parameter_tvb);
@ -4395,13 +4391,11 @@ dissect_s1ap_TargeteNB_ToSourceeNB_TransparentContainer(tvbuff_t *tvb _U_, int o
static int
dissect_s1ap_Target_ToSource_TransparentContainer(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 358 "../../asn1/s1ap/s1ap.cnf"
#line 356 "../../asn1/s1ap/s1ap.cnf"
gint32 start_offset;
tvbuff_t *parameter_tvb;
proto_tree *subtree;
start_offset = offset;
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
NO_BOUND, NO_BOUND, FALSE, &parameter_tvb);
@ -4649,13 +4643,10 @@ dissect_s1ap_UEPagingID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_,
static int
dissect_s1ap_UERadioCapability(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 475 "../../asn1/s1ap/s1ap.cnf"
gint32 start_offset;
#line 469 "../../asn1/s1ap/s1ap.cnf"
tvbuff_t *parameter_tvb;
proto_tree *subtree;
start_offset = offset;
offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index,
NO_BOUND, NO_BOUND, FALSE, &parameter_tvb);