aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtse.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2014-01-13 22:25:13 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2014-01-13 22:25:13 +0000
commit4a09abdf678942168ed7c8f2bb9e37d60b00a696 (patch)
tree877af881bf30268d02c014d6a79a9d7d861cf0a6 /epan/dissectors/packet-rtse.c
parent86f6c85860b8c6dd64177b935a128b5b1fc0dfe8 (diff)
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
svn path=/trunk/; revision=54732
Diffstat (limited to 'epan/dissectors/packet-rtse.c')
-rw-r--r--epan/dissectors/packet-rtse.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-rtse.c b/epan/dissectors/packet-rtse.c
index 46e595d839..77cbdaf18a 100644
--- a/epan/dissectors/packet-rtse.c
+++ b/epan/dissectors/packet-rtse.c
@@ -827,10 +827,7 @@ dissect_rtse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* d
if (next_tvb) {
/* ROS won't do this for us */
session->ros_op = (ROS_OP_INVOKE | ROS_OP_ARGUMENT);
- offset=dissect_ber_external_type(FALSE, tree, next_tvb, 0, &asn1_ctx, -1, call_rtse_external_type_callback);
- top_tree = NULL;
- /* Return other than 0 to indicate that we handled this packet */
- return 1;
+ /*offset=*/dissect_ber_external_type(FALSE, tree, next_tvb, 0, &asn1_ctx, -1, call_rtse_external_type_callback);
} else {
offset = tvb_length (tvb);
}