Fix Function call argument is an uninitialized value warning found by Clang
authorAlexis La Goutte <alexis.lagoutte@gmail.com>
Mon, 23 Sep 2013 07:20:53 +0000 (07:20 -0000)
committerAlexis La Goutte <alexis.lagoutte@gmail.com>
Mon, 23 Sep 2013 07:20:53 +0000 (07:20 -0000)
svn path=/trunk/; revision=52186

epan/dissectors/packet-mq.c

index 0b37421f28daf0dfb62bbda75cdbf52bc0a323ee..f92075cce3d67d0f8fb8caa6d2483f66e2b4fa43 100644 (file)
@@ -2073,7 +2073,9 @@ static void dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
        col_set_str(pinfo->cinfo, COL_PROTOCOL, "MQ");
 
+       tMsgProps.iOffsetEncoding = 0;
        tMsgProps.iOffsetFormat = 0;
+       tMsgProps.iOffsetCcsid = 0;
        if (tvb_length(tvb) >= 4)
        {
                p_mq_parm->mq_strucID = tvb_get_ntohl(tvb, offset);