Fix clang missing-field-initializers warning and undefined behavior

5 jobs for !3875 with fixes-for-gcc12 in 35 seconds (queued for 2 seconds)
latest merge request