diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2026-01-16 14:02:25 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2026-01-16 14:02:35 +0000 |
| commit | b39662fc388678db2b7b5fa3c900205252d15b3b (patch) | |
| tree | 657f75fd222fb956c032c763edb4670565826ecd /contrib/unbound/services/outbound_list.h | |
| parent | bbd30927b1af44226c8de0512912a7fedfce2824 (diff) | |
When compiling vchiq with clang 21, the following -Werror warning is
produced:
sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c:728:27: error: default initialization of an object of type 'VCHIQ_QUEUE_MESSAGE32_T' with const member leaves the object uninitialized [-Werror,-Wdefault-const-init-field-unsafe]
728 | VCHIQ_QUEUE_MESSAGE32_T args32;
| ^
sys/contrib/vchiq/interface/vchiq_arm/vchiq_ioctl.h:151:40: note: member 'elements' declared 'const' here
151 | const /*VCHIQ_ELEMENT_T * */ uint32_t elements;
| ^
While the warning is formally correct, the 'args32' object is
immediately initialized after its declaration. Therefore, suppress the
warning.
MFC after: 3 days
Diffstat (limited to 'contrib/unbound/services/outbound_list.h')
0 files changed, 0 insertions, 0 deletions
