Use the implicit NULLing out of the other struct elements
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
/* Floor 2 to num_protocols */
for (i = 0; i < num_protocols; i++) {
- tower->floors[2 + i].lhs.protocol = protseq[i];
- tower->floors[2 + i].lhs.lhs_data = data_blob_null;
- ZERO_STRUCT(tower->floors[2 + i].rhs);
+ tower->floors[2 + i] = (struct epm_floor) {
+ .lhs.protocol = protseq[i],
+ };
status = dcerpc_floor_set_rhs_data(tower->floors,
&tower->floors[2 + i],
NULL);