aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ncp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-06-04 22:26:40 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-06-04 22:26:40 +0000
commit42451447b1a12a550dc3000eae5012be01bb0cf2 (patch)
tree450b76072c46c79734e265627f394d12ac81c9f5 /epan/dissectors/packet-ncp.c
parente2cec4bb6364c6625113be394a1b081169f8ec67 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=43091
Diffstat (limited to 'epan/dissectors/packet-ncp.c')
-rw-r--r--epan/dissectors/packet-ncp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ncp.c b/epan/dissectors/packet-ncp.c
index 36a922a7b2..6dbf14ddbe 100644
--- a/epan/dissectors/packet-ncp.c
+++ b/epan/dissectors/packet-ncp.c
@@ -396,7 +396,7 @@ dissect_ncp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
* conversation in our hash, create
* one */
if (request_value == NULL) {
- request_value = mncp_hash_insert(conversation, nw_connection, header.task, pinfo);
+ mncp_hash_insert(conversation, nw_connection, header.task, pinfo);
}
} else {
/* It's not part of any conversation
@@ -404,7 +404,7 @@ dissect_ncp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
*/
conversation = conversation_new(pinfo->fd->num, &pinfo->src,
&pinfo->dst, PT_NCP, (guint32) pinfo->srcport, (guint32) pinfo->destport, 0);
- request_value = mncp_hash_insert(conversation, nw_connection, header.task, pinfo);
+ mncp_hash_insert(conversation, nw_connection, header.task, pinfo);
}
/* If this is a request packet then we
* might have a new task
@@ -439,7 +439,7 @@ dissect_ncp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
* conversation in our hash, create
* one */
if (request_value == NULL) {
- request_value = mncp_hash_insert(conversation, nw_connection, header.task, pinfo);
+ mncp_hash_insert(conversation, nw_connection, header.task, pinfo);
}
} else {
/* It's not part of any conversation
@@ -447,7 +447,7 @@ dissect_ncp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
*/
conversation = conversation_new(pinfo->fd->num, &pinfo->src,
&pinfo->dst, PT_NCP, (guint32) pinfo->srcport, (guint32) pinfo->destport, 0);
- request_value = mncp_hash_insert(conversation, nw_connection, header.task, pinfo);
+ mncp_hash_insert(conversation, nw_connection, header.task, pinfo);
}
/* find the record telling us the request
* made that caused this reply