nvml/nvml-gcc11.patch
Petr Šabata 20787babda RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/nvml#83d288b5d934471dd9322c2bd63f13a8945d412c
2020-10-15 21:28:26 +02:00

14 lines
437 B
Diff

diff --git a/src/test/util_badblock/util_badblock.c b/src/test/util_badblock/util_badblock.c
index a2274c7..0ee4479 100644
--- a/src/test/util_badblock/util_badblock.c
+++ b/src/test/util_badblock/util_badblock.c
@@ -104,7 +104,7 @@ static void
do_open(const char *path)
{
struct pool_set *set;
- const struct pool_attr attr;
+ const struct pool_attr attr = { 0 };
unsigned nlanes = 1;
if (util_pool_open(&set, path, MIN_PART,