aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bssap.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-07 15:44:45 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-07 15:44:45 +0000
commit28ae535b009c9301e885a4e17bfa55861288f2f9 (patch)
treeffc752144b791b42bccb7d56a29504c9ebed0d65 /epan/dissectors/packet-bssap.c
parent36431783b7bb21c867080639724d73c929b612ec (diff)
Removed even more "statement not reached" warnings.
svn path=/trunk/; revision=24286
Diffstat (limited to 'epan/dissectors/packet-bssap.c')
-rw-r--r--epan/dissectors/packet-bssap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-bssap.c b/epan/dissectors/packet-bssap.c
index 6e50f5601c..7564f5998a 100644
--- a/epan/dissectors/packet-bssap.c
+++ b/epan/dissectors/packet-bssap.c
@@ -1735,8 +1735,6 @@ static void dissect_bssap_plus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
return;
proto_tree_add_text(tree, tvb, offset, -1, "Extraneous data");
break;
-
- break;
case BSSAP_LOCATION_UPDATE_REQUEST: /* 17.1.11 BSSAP+-LOCATION-UPDATE-REQUEST */
/* IMSI IMSI 18.4.10 M TLV 6-10 */
if ( check_ie(tvb, tree, &offset, BSSAP_IMSI))
@@ -1987,7 +1985,6 @@ static void dissect_bssap_plus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
/* VLR number VLR number 18.4.26 C TLV 5-11 */
if ( check_optional_ie(tvb, offset, BSSAP_VLR_NUMBER)){
offset = dissect_bssap_vlr_number(tvb, bssap_tree, offset);
- return;
if (tvb_length_remaining(tvb,offset) == 0)
return;
proto_tree_add_text(tree, tvb, offset, -1, "Extraneous data");
@@ -2007,7 +2004,6 @@ static void dissect_bssap_plus(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr
/* VLR number VLR number 18.4.26 C TLV 5-11 */
if ( check_optional_ie(tvb, offset, BSSAP_VLR_NUMBER)){
offset = dissect_bssap_vlr_number(tvb, bssap_tree, offset);
- return;
if (tvb_length_remaining(tvb,offset) == 0)
return;
proto_tree_add_text(tree, tvb, offset, -1, "Extraneous data");