aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mq.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2013-09-23 07:20:38 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2013-09-23 07:20:38 +0000
commit044951858f1d937431f616b16afa63f8bba64ee0 (patch)
treea90de4ff192ca29a0235daaf5debe1e96ce0c591 /epan/dissectors/packet-mq.c
parent5576d25672f907ea4b62cb652ab9b9356764f209 (diff)
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
svn path=/trunk/; revision=52184
Diffstat (limited to 'epan/dissectors/packet-mq.c')
-rw-r--r--epan/dissectors/packet-mq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c
index 7e4324b2ae..0b37421f28 100644
--- a/epan/dissectors/packet-mq.c
+++ b/epan/dissectors/packet-mq.c
@@ -2549,7 +2549,6 @@ static void dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
iHdl = tvb_get_guint32_endian(tvb, offset+4, p_mq_parm->mq_int_enc);
iCurSeq = tvb_get_guint32_endian(tvb, offset + 12, p_mq_parm->mq_int_enc);
imsegseq = tvb_get_guint16_endian(tvb, offset + 20, p_mq_parm->mq_int_enc);
- iPayLod = tvb_get_guint32_endian(tvb, offset + 16, p_mq_parm->mq_int_enc);
if (p_mq_parm->mq_ctlf & MQ_TCF_FIRST)
{
@@ -3330,8 +3329,6 @@ static void reassemble_mq(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
uHdl = tvb_get_guint32_endian(tvb, iHdrL + 4, iEnco);
/* Get the Current Seq Number */
uCurS= tvb_get_guint32_endian(tvb, iHdrL +12, iEnco);
- /* Get the Payload Length */
- uPayL= tvb_get_guint32_endian(tvb, iHdrL +16, iEnco);
/* Get the MsgSegment Number */
uMsgS= tvb_get_guint16_endian(tvb, iHdrL +20, iEnco);