aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2017-06-22 02:13:52 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2017-06-22 00:15:08 +0000
commite46cb2defc559a530d11689d50f0adf47513e8e5 (patch)
treee833c2c37a9cfdbc64b1900433d0de287d9960eb /epan
parent59add43eecfbed3bae5d75dabe6e875b5adefe1b (diff)
MQ: put declaration before code
Change-Id: I2b0d1a4795e3278a1702d51d4fd532a37a4eba19 Reviewed-on: https://code.wireshark.org/review/22332 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-mq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c
index e986af8510..99c4babae5 100644
--- a/epan/dissectors/packet-mq.c
+++ b/epan/dissectors/packet-mq.c
@@ -3845,9 +3845,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 */