diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-12-23 20:12:51 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-12-23 20:12:51 +0000 |
commit | efa81cdac8fbd2b5ba4fe87014b7c7217d8d6811 (patch) | |
tree | 1a653e89ae0d08c6e9bb4a97e2f9074c0e3d2886 | |
parent | b3a584d8dc91437bc675b85e61ad3969a1698196 (diff) | |
download | wireshark-efa81cdac8fbd2b5ba4fe87014b7c7217d8d6811.tar.gz |
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
svn path=/trunk/; revision=54413
-rw-r--r-- | epan/dissectors/packet-fcsb3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-fcsb3.c b/epan/dissectors/packet-fcsb3.c index ae545f200e..b57fbcc9a7 100644 --- a/epan/dissectors/packet-fcsb3.c +++ b/epan/dissectors/packet-fcsb3.c @@ -871,7 +871,10 @@ static void dissect_fc_sbccs (tvbuff_t *tvb, packet_info *pinfo, } else if ((type == FC_SBCCS_IU_CMD_HDR) || (type != FC_SBCCS_IU_CMD_DATA)) { - conversation = conversation_new (pinfo->fd->num, &pinfo->src, &pinfo->dst, +#if 0 + conversation = +#endif + conversation_new (pinfo->fd->num, &pinfo->src, &pinfo->dst, PT_SBCCS, ch_cu_id, dev_addr, 0); #if 0 task_key.conv_id = conversation->index; |