Make sure all 32 bits of bit-field are initialized.

Found with msan static analysis which noticed an
uninitialized bit.

Signed-off-by: Henner Zeller <hzeller@google.com>
This commit is contained in:
Henner Zeller 2022-11-21 12:23:11 -08:00
parent 70cb339f86
commit 2f0f638007
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ ABC_NAMESPACE_IMPL_START
typedef struct Kit_Mux_t_ Kit_Mux_t;
struct Kit_Mux_t_
{
unsigned v : 5; // variable
unsigned v : 6; // variable
unsigned t : 12; // then edge
unsigned e : 12; // else edge
unsigned c : 1; // complemented attr of else edge