tests: add "missing" initializers
authorLaszlo Ersek <lersek@redhat.com>
Sun, 11 Sep 2022 12:36:26 +0000 (14:36 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 20 Sep 2022 09:08:37 +0000 (10:08 +0100)
commit45a7c4d5ed0afd47e0df2f444d33683e17ae53b9
tree233381ef2f02a5ff4020ae2b981be1699682b72c
parent783db67b0bf0ea3b10e842cbb210870a4947320e
tests: add "missing" initializers

With "-Wextra", gcc emits warnings such as:

> test-multi-match.c:58:24: warning: missing initializer for field
> ‘options’ of ‘mexp_regexp’ [-Wmissing-field-initializers]

Although the code is not incorrect, let's just shut up the warnings, so we
can enable "-Wextra" later (which did catch an actual bug; see the
previous patch).

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
test-ls-version.c
test-multi-match.c