aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-07-05 22:37:26 +0200
committerMichael Mann <mmann78@netscape.net>2015-07-05 21:21:27 +0000
commit3658a0434f3308e9786087c57d641ca89112b000 (patch)
tree3d934c53c081b8c2cc550db7154cb020465797ba /epan
parentcfe7dc8bab00b80478418416de5354996fea3d3b (diff)
RPC: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Iea6529d8fb43d1cea723c92b3b348029c39c0c8d Reviewed-on: https://code.wireshark.org/review/9506 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-rpc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-rpc.c b/epan/dissectors/packet-rpc.c
index 3e79a0a874..b58f3bd44f 100644
--- a/epan/dissectors/packet-rpc.c
+++ b/epan/dissectors/packet-rpc.c
@@ -2143,9 +2143,6 @@ dissect_rpc_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* store it */
wmem_tree_insert32(rpc_conv_info->xids, xid, (void *)rpc_call);
-
- /* and fake up a matching program */
- rpc_prog_key = rpc_call->prog;
}
/* pass rpc_info to subdissectors */