LIST_FOREACH(flow, &client->flow_list, flow_chain) {
if (flow->nexus || (flow->socket && flow->assigned)) {
// Write TLV headers
- struct necp_client_nexus_flow_header header;
+ struct necp_client_nexus_flow_header header = {};
u_int32_t length = 0;
u_int32_t flags = 0;
u_int8_t tfo_cookie_len = 0;
/* Read the protocol event and reset it */
if (flow->has_protoctl_event) {
- struct necp_client_flow_protoctl_event_header protoctl_event_header;
+ struct necp_client_flow_protoctl_event_header protoctl_event_header = {};
type = NECP_CLIENT_RESULT_PROTO_CTL_EVENT;
length = sizeof(protoctl_event_header.protoctl_event);
{
#pragma unused(retval)
u_int8_t *parameters = NULL;
- struct necp_aggregate_result returned_result;
+ struct necp_aggregate_result returned_result = {};
int error = 0;
if (uap == NULL) {