aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-03-23 13:03:18 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-03-23 13:03:18 +0000
commit8b156ecfc8bc3a29ba8006915cb2394d8930a593 (patch)
tree359f535e0594d29b77dd45a4e6b40cc848f8de96 /epan/dissectors
parentdf120bc8d2e332370a7e3d058e3b959540126a33 (diff)
Removed some "statement not reached" warnings.
svn path=/trunk/; revision=27827
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-tcap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-tcap.c b/epan/dissectors/packet-tcap.c
index 03e8fad72d..8ff5da26af 100644
--- a/epan/dissectors/packet-tcap.c
+++ b/epan/dissectors/packet-tcap.c
@@ -275,7 +275,7 @@ static int
dissect_tcap_Dialog1(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 69 "tcap.cnf"
-return dissect_tcap_DialoguePDU(TRUE, tvb, offset, actx, tree, -1);
+ offset = dissect_tcap_DialoguePDU(TRUE, tvb, offset, actx, tree, -1);
@@ -318,7 +318,7 @@ static int
dissect_tcap_DialogueOC(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 59 "tcap.cnf"
-return dissect_tcap_ExternalPDU(FALSE /*implicit_tag*/, tvb, offset, actx, tree, -1);
+ offset = dissect_tcap_ExternalPDU(FALSE /*implicit_tag*/, tvb, offset, actx, tree, -1);
@@ -383,7 +383,7 @@ static int
dissect_tcap_Parameter(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 74 "tcap.cnf"
-return dissect_tcap_param(actx,tree,tvb,offset);
+ offset = dissect_tcap_param(actx,tree,tvb,offset);
@@ -676,7 +676,7 @@ if (!next_tvb)
dissect_tcap_ITU_ComponentPDU(implicit_tag, next_tvb, 0, actx, tcap_top_tree, hf_index);
-/* return comp_offset+len; or return offset (will be automatically added */
+/* return comp_offset+len; or return offset (will be automatically added) */