diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2017-06-22 02:13:52 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2017-06-22 00:15:22 +0000 |
commit | ed558b5b68b6be1ac8c893b745435cf6246583d5 (patch) | |
tree | 9e7234f434a3c319a8a7ebb394ac3b4b44fc26c6 | |
parent | 1e7a921796883fffcefacef16d5721b967373fb2 (diff) | |
download | wireshark-ed558b5b68b6be1ac8c893b745435cf6246583d5.tar.gz |
MQ: put declaration before code
Change-Id: I2b0d1a4795e3278a1702d51d4fd532a37a4eba19
Reviewed-on: https://code.wireshark.org/review/22332
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
(cherry picked from commit e46cb2defc559a530d11689d50f0adf47513e8e5)
Reviewed-on: https://code.wireshark.org/review/22333
-rw-r--r-- | epan/dissectors/packet-mq.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |