Add missing initialisations

configuring with --enable-mutex-atomics flagged these incorrectly
initialised variables on systems where pthread_mutex_init doesn't
just zero out the structure.

(cherry picked from commit 715a2c7f)
79 jobs for !5101 with marka-missing-initialisations-v9_16 in 32 minutes and 37 seconds (queued for 8 seconds)
latest detached
Status Job ID Name Coverage
  Precheck
passed #1751339
amd64 linux
autoreconf

00:00:16

passed #1751341
amd64 linux
clang-format

00:00:17

passed #1751342
amd64 linux
coccinelle

00:03:28

passed #1751343
amd64 linux
danger

00:00:15

passed #1751340
amd64 linux
misc

00:00:13

passed #1751344
amd64 linux
tarball-create

00:00:17

 
  Build
passed #1751358
amd64 linux
clang:asan

00:03:48

passed #1751362
amd64 linux
clang:buster:amd64

00:01:42

passed #1751365
amd64 libvirt
clang:freebsd12:amd64

00:01:44

passed #1751366
amd64 libvirt
clang:freebsd13:amd64

00:03:52

passed #1751367
amd64 libvirt
clang:openbsd:amd64

00:03:29

passed #1751360
amd64 linux
clang:tsan

00:02:10

passed #1751345
amd64 linux
gcc:alpine3.13:amd64

00:01:47

passed #1751357
amd64 linux
gcc:asan

00:03:11

passed #1751355
amd64 linux
gcc:bionic:amd64

00:01:47

passed #1751349
amd64 linux
gcc:buster:amd64

00:01:21

passed #1751346
amd64 linux
gcc:centos7:amd64

00:01:24

passed #1751347
amd64 linux
gcc:centos8:amd64

00:01:19

passed #1751356
amd64 linux
gcc:focal:amd64

00:01:26

passed #1751361
amd64 linux
gcc:mutexatomics

00:01:32

passed #1751351
amd64 linux
gcc:out-of-tree

00:01:26

passed #1751350
amd64 linux
gcc:sid:amd64

00:02:05

passed #1751353
i386 linux
gcc:sid:i386

00:01:36

passed #1751363
amd64 linux
gcc:softhsm2.4

00:01:41

passed #1751364
amd64 linux
gcc:softhsm2.6

00:01:28

passed #1751348
amd64 linux
gcc:stretch:amd64

00:01:51

passed #1751352
amd64 linux
gcc:tarball

00:01:42

passed #1751359
amd64 linux
gcc:tsan

00:01:48

passed #1751354
amd64 linux
gcc:tumbleweed:amd64

00:01:28

passed #1751369
amd64 windows
msvc:windows:amd64

00:00:57

passed #1751368
amd64 linux
nolibtool:sid:amd64

00:01:57

 
  Unit
passed #1751381
amd64 linux
unit:clang:asan

00:01:13

passed #1751385
amd64 linux
unit:clang:buster:amd64

00:00:34

passed #1751388
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:00

passed #1751389
amd64 libvirt
unit:clang:freebsd13:amd64

00:02:53

passed #1751383
amd64 linux
unit:clang:tsan

00:01:29

passed #1751370
amd64 linux
unit:gcc:alpine3.13:amd64

00:00:47

passed #1751380
amd64 linux
unit:gcc:asan

00:01:11

passed #1751378
amd64 linux
unit:gcc:bionic:amd64

00:00:37

passed #1751374
amd64 linux
unit:gcc:buster:amd64

00:01:00

passed #1751371
amd64 linux
unit:gcc:centos7:amd64

00:00:38

passed #1751372
amd64 linux
unit:gcc:centos8:amd64

00:00:37

passed #1751379
amd64 linux
unit:gcc:focal:amd64

00:00:40

passed #1751384
amd64 linux
unit:gcc:mutexatomics

00:00:37

passed #1751375
amd64 linux
unit:gcc:sid:amd64

00:00:39

passed #1751376
i386 linux
unit:gcc:sid:i386

00:00:48

passed #1751386
amd64 linux
unit:gcc:softhsm2.4

00:00:38

passed #1751387
amd64 linux
unit:gcc:softhsm2.6

00:00:42

passed #1751373
amd64 linux
unit:gcc:stretch:amd64

00:00:34

passed #1751382
amd64 linux
unit:gcc:tsan

00:01:51

passed #1751377
amd64 linux
unit:gcc:tumbleweed:amd64

00:00:36

passed #1751390
amd64 linux
unit:nolibtool:sid:amd64

00:00:50

 
  System
passed #1751402
amd64 linux
system:clang:asan

00:13:10

passed #1751406
amd64 linux
system:clang:buster:amd64

00:11:23

canceled #1751409
amd64 libvirt
system:clang:freebsd12:amd64

00:30:24

passed #1751410
amd64 libvirt
system:clang:freebsd13:amd64

00:12:41

passed #1751404
amd64 linux
system:clang:tsan

00:14:48

passed #1751391
amd64 linux
system:gcc:alpine3.13:amd64

00:11:56

passed #1751401
amd64 linux
system:gcc:asan

00:13:40

passed #1751399
amd64 linux
system:gcc:bionic:amd64

00:10:42

passed #1751395
amd64 linux
system:gcc:buster:amd64

00:13:02

passed #1751392
amd64 linux
system:gcc:centos7:amd64

00:11:01

passed #1751393
amd64 linux
system:gcc:centos8:amd64

00:11:24

passed #1751400
amd64 linux
system:gcc:focal:amd64

00:11:43

passed #1751405
amd64 linux
system:gcc:mutexatomics

00:11:17

passed #1751396
amd64 linux
system:gcc:sid:amd64

00:10:48

passed #1751397
i386 linux
system:gcc:sid:i386

00:10:01

passed #1751407
amd64 linux
system:gcc:softhsm2.4

00:11:25

passed #1751408
amd64 linux
system:gcc:softhsm2.6

00:11:47

passed #1751394
amd64 linux
system:gcc:stretch:amd64

00:10:48

passed #1751403
amd64 linux
system:gcc:tsan

00:15:38

passed #1751398
amd64 linux
system:gcc:tumbleweed:amd64

00:11:28

passed #1751411
amd64 linux
system:nolibtool:sid:amd64

00:11:57

 
  Docs
passed #1751412
amd64 linux
docs

00:02:16

 
  Postcheck
passed #1751416
amd64 linux
cppcheck

00:00:22

passed #1751413
amd64 linux
flake8

00:00:19

passed #1751417
amd64 linux
gcov

00:00:33

76.0%
passed #1751414
amd64 linux
pylint

00:00:24

passed #1751415
amd64 linux
scan-build

00:09:27