From ed558b5b68b6be1ac8c893b745435cf6246583d5 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Thu, 22 Jun 2017 02:13:52 +0200 Subject: MQ: put declaration before code Change-Id: I2b0d1a4795e3278a1702d51d4fd532a37a4eba19 Reviewed-on: https://code.wireshark.org/review/22332 Reviewed-by: Pascal Quantin (cherry picked from commit e46cb2defc559a530d11689d50f0adf47513e8e5) Reviewed-on: https://code.wireshark.org/review/22333 --- epan/dissectors/packet-mq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c index fa100f8c3c..51128ff589 100644 --- a/epan/dissectors/packet-mq.c +++ b/epan/dissectors/packet-mq.c @@ -3923,9 +3923,10 @@ static int reassemble_mq(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, vo { fragment_head *fd_head; guint32 iConnectionId = (pinfo->srcport + pinfo->destport); - iHdrL = 28 + iMulS; gboolean reassembly_error = FALSE; + iHdrL = 28 + iMulS; + /* Get the MQ Handle of the Object */ iHdl = tvb_get_guint32(tvb, iHdrL + 4, iEnco); /* Get the Global Message Index */ -- cgit v1.2.1