Remove const from fields in a dynamically-allocated structure.

There's no need for them to be const, and that causes compiler warnings
when you try to give them a value.

Change-Id: I666a03dd443dff462de0fe2e393284f3341535d0
Reviewed-on: https://code.wireshark.org/review/26834
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-04-09 14:29:14 -07:00
parent e085119b66
commit 1a29a70443
2 changed files with 2 additions and 2 deletions

View File

@ -272,7 +272,7 @@ typedef struct cba_frame_s {
guint packet_last;
guint16 length;
const guint8 consmac[6];
guint8 consmac[6];
guint16 conscrid;
guint32 provcrid;
guint32 conncrret;

View File

@ -16,7 +16,7 @@ typedef struct cba_pdev_s {
dcom_object_t *object;
gint first_packet;
const guint8 ip[4];
guint8 ip[4];
} cba_pdev_t;
typedef struct cba_ldev_s {