diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-02-14 22:07:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-02-14 22:07:26 +0000 |
commit | bfb29e9e848ffe2ad1b0eb8455065f6d754aece0 (patch) | |
tree | d23ef1801349b49c89bc5d0de137231fe0e910fe /epan/dissectors/packet-gsm_map.c | |
parent | ffc29da21ed444cfcfb2f9dfe9f68947c6f3ec42 (diff) |
Fix some compiler warnings (at least one of which is for a real problem).
svn path=/trunk/; revision=13404
Diffstat (limited to 'epan/dissectors/packet-gsm_map.c')
-rw-r--r-- | epan/dissectors/packet-gsm_map.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-gsm_map.c b/epan/dissectors/packet-gsm_map.c index e7c14c159b..8cbcecf85e 100644 --- a/epan/dissectors/packet-gsm_map.c +++ b/epan/dissectors/packet-gsm_map.c @@ -1,6 +1,6 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Ethereal dissector compiler */ -/* .\packet-gsm_map.c */ +/* ./packet-gsm_map.c */ /* ../../tools/asn2eth.py -X -b -e -p gsm_map -c gsmmap.cnf -s packet-gsm_map-template GSMMAP.asn */ /* Input file: packet-gsm_map-template.c */ @@ -8604,7 +8604,7 @@ dissect_gsm_map_Opcode(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, pac static int dissect_invokeData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { - guint8 octet; + guint8 octet; switch(opcode){ case 2: /*updateLocation*/ @@ -8766,7 +8766,7 @@ static int dissect_invokeData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tv offset = offset +2; offset=dissect_gsm_map_PrepareHandoverV3Arg(TRUE, tvb, offset, pinfo, tree, -1); }else{ - offset=offset=dissect_gsm_map_PrepareHO_Arg(FALSE, tvb, offset, pinfo, tree, -1); + offset=dissect_gsm_map_PrepareHO_Arg(FALSE, tvb, offset, pinfo, tree, -1); } break; case 69: /*prepareSubsequentHandover*/ @@ -8814,7 +8814,7 @@ static int dissect_invokeData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tv static int dissect_returnResultData(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) { - guint8 octet; + guint8 octet; switch(opcode){ case 2: /*updateLocation*/ offset=dissect_gsm_map_UpdateLocationRes(FALSE, tvb, offset, pinfo, tree, -1); @@ -9091,7 +9091,7 @@ dissect_global_errorCode(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, in static const ber_choice_t ReturnError_result_choice[] = { { 0, BER_CLASS_UNI, BER_UNI_TAG_INTEGER, BER_FLAGS_NOOWNTAG, dissect_local_errorCode }, { 1, BER_CLASS_UNI, BER_UNI_TAG_OID, BER_FLAGS_NOOWNTAG, dissect_global_errorCode }, - { 0, 0, 0, NULL } + { 0, 0, 0, 0, NULL } }; |