S7COMM: remove array size from function interface

Fixes #17198
This commit is contained in:
Jaap Keuter 2021-02-02 21:10:59 +01:00 committed by Wireshark GitLab Utility
parent 95ba4daf5b
commit 55d53dbf1b
1 changed files with 1 additions and 1 deletions

View File

@ -3151,7 +3151,7 @@ s7comm_decode_pistart_parameters(tvbuff_t *tvb,
proto_tree *param_tree,
const guint8 *servicename,
guint8 nfields, /* number of fields used */
guint hf[12], /* array with header fields */
guint hf[], /* array with header fields */
guint32 offset)
{
guint8 i;