Fix Function call argument is an uninitialized value warning found by Clang

svn path=/trunk/; revision=52186
This commit is contained in:
Alexis La Goutte 2013-09-23 07:20:53 +00:00
parent 2b301cefb9
commit bd3d51b5fe
1 changed files with 2 additions and 0 deletions

View 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);