aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/gsmmap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-02-14 22:07:26 +0000
committerGuy Harris <guy@alum.mit.edu>2005-02-14 22:07:26 +0000
commitbfb29e9e848ffe2ad1b0eb8455065f6d754aece0 (patch)
treed23ef1801349b49c89bc5d0de137231fe0e910fe /asn1/gsmmap
parentffc29da21ed444cfcfb2f9dfe9f68947c6f3ec42 (diff)
Fix some compiler warnings (at least one of which is for a real problem).
svn path=/trunk/; revision=13404
Diffstat (limited to 'asn1/gsmmap')
-rw-r--r--asn1/gsmmap/packet-gsm_map-template.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/gsmmap/packet-gsm_map-template.c b/asn1/gsmmap/packet-gsm_map-template.c
index 100746cb58..a653b976e4 100644
--- a/asn1/gsmmap/packet-gsm_map-template.c
+++ b/asn1/gsmmap/packet-gsm_map-template.c
@@ -374,7 +374,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*/
@@ -536,7 +536,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*/
@@ -584,7 +584,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);
@@ -861,7 +861,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 }
};