diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-04-03 14:46:02 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-04-03 14:46:02 +0000 |
commit | 759607c7cc7772ef01ace4d1815fff470446527c (patch) | |
tree | 63e7dcd0c44c7cf9b8c6e5816886707f2ba8c6ca | |
parent | e8e5d6aa2666abd5aeb8ad6c390394ec9f89ce2b (diff) |
Comment out unused define.
svn path=/trunk/; revision=41905
-rw-r--r-- | asn1/lcsap/LCS-AP-IEs.asn | 4 | ||||
-rw-r--r-- | asn1/lcsap/lcsap.cnf | 1 | ||||
-rw-r--r-- | epan/dissectors/packet-lcsap.c | 20 |
3 files changed, 7 insertions, 18 deletions
diff --git a/asn1/lcsap/LCS-AP-IEs.asn b/asn1/lcsap/LCS-AP-IEs.asn index 777c36dc0f..718e01d433 100644 --- a/asn1/lcsap/LCS-AP-IEs.asn +++ b/asn1/lcsap/LCS-AP-IEs.asn @@ -60,8 +60,8 @@ Altitude-And-Direction ::= SEQUENCE { Angle ::= INTEGER (0..179) -- B - -Bearing ::= INTEGER (0..359) +-- WS mod +-- Bearing ::= INTEGER (0..359) -- C diff --git a/asn1/lcsap/lcsap.cnf b/asn1/lcsap/lcsap.cnf index 33d37df7b7..33c1383086 100644 --- a/asn1/lcsap/lcsap.cnf +++ b/asn1/lcsap/lcsap.cnf @@ -42,7 +42,6 @@ InitiatingMessage/value initiatingMessagevalue UnsuccessfulOutcome/value unsuccessfulOutcome_value SuccessfulOutcome/value successfulOutcome_value -PrivateIE-Field/id private_id ProtocolExtensionField/id ext_id #PrivateIE-Field/value private_value diff --git a/epan/dissectors/packet-lcsap.c b/epan/dissectors/packet-lcsap.c index b8e7640572..9bdcf01c10 100644 --- a/epan/dissectors/packet-lcsap.c +++ b/epan/dissectors/packet-lcsap.c @@ -347,7 +347,7 @@ dissect_lcsap_ProcedureCode(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 255U, &ProcedureCode, FALSE); -#line 101 "../../asn1/lcsap/lcsap.cnf" +#line 100 "../../asn1/lcsap/lcsap.cnf" if (check_col(actx->pinfo->cinfo, COL_INFO)) { @@ -426,7 +426,7 @@ dissect_lcsap_ProtocolIE_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, 0U, 65535U, &ProtocolIE_ID, FALSE); -#line 53 "../../asn1/lcsap/lcsap.cnf" +#line 52 "../../asn1/lcsap/lcsap.cnf" if (tree) { proto_item_append_text(proto_item_get_parent_nth(actx->created_item, 2), ": %s", val_to_str(ProtocolIE_ID, VALS(lcsap_ProtocolIE_ID_vals), "unknown (%d)")); } @@ -516,7 +516,7 @@ dissect_lcsap_ProtocolExtensionContainer(tvbuff_t *tvb _U_, int offset _U_, asn1 static int dissect_lcsap_APDU(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 74 "../../asn1/lcsap/lcsap.cnf" +#line 73 "../../asn1/lcsap/lcsap.cnf" tvbuff_t *parameter_tvb=NULL; @@ -619,16 +619,6 @@ dissect_lcsap_Angle(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, pro static int -dissect_lcsap_Bearing(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { - offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index, - 0U, 359U, NULL, FALSE); - - return offset; -} - - - -static int dissect_lcsap_CellIdentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { offset = dissect_per_bit_string(tvb, offset, actx, tree, hf_index, 28, 28, FALSE, NULL); @@ -681,7 +671,7 @@ dissect_lcsap_DegreesLongitude(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *ac static int dissect_lcsap_PLMN_ID(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 172 "../../asn1/lcsap/lcsap.cnf" +#line 171 "../../asn1/lcsap/lcsap.cnf" tvbuff_t *parameter_tvb=NULL; offset = dissect_per_octet_string(tvb, offset, actx, tree, hf_index, 3, 3, FALSE, ¶meter_tvb); @@ -1701,7 +1691,7 @@ static const per_sequence_t Connectionless_Information_sequence[] = { static int dissect_lcsap_Connectionless_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { -#line 70 "../../asn1/lcsap/lcsap.cnf" +#line 69 "../../asn1/lcsap/lcsap.cnf" PayloadType = 1; /* LPPa */ |