dof: don't initialize nonce it is useless.

Change-Id: I300145c04293fa06ea6af0a5797d27023c3b2fbc
Reviewed-on: https://code.wireshark.org/review/26177
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Dario Lombardo 2018-02-28 13:59:13 +01:00 committed by Anders Broman
parent 87dfaa72cf
commit 07bb8fc047
1 changed files with 1 additions and 4 deletions

View File

@ -7872,10 +7872,7 @@ static int dissect_ccm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void
* or the client and the packet count. The packet count either comes from
* the PDU or is a function of the previous value (of the sending node).
*/
guint8 nonce[] = { 0x00, 0x00, 0x00, 0x00,
0x00, 0x00,
0x00,
0x00, 0x00, 0x00, 0x00 };
guint8 nonce[11];
nonce[0] = (pdata->nid) >> 24;
nonce[1] = (pdata->nid) >> 16;