From 16140fa1c132316fa806e569e50fbb4938246372 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Sat, 12 Dec 2020 12:46:17 +0100 Subject: [PATCH] test: util_badblock: don't pass uninitialized attr --- src/test/util_badblock/util_badblock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/util_badblock/util_badblock.c b/src/test/util_badblock/util_badblock.c index a2274c79f..eb9aaa0aa 100644 --- a/src/test/util_badblock/util_badblock.c +++ b/src/test/util_badblock/util_badblock.c @@ -104,11 +104,10 @@ static void do_open(const char *path) { struct pool_set *set; - const struct pool_attr attr; unsigned nlanes = 1; if (util_pool_open(&set, path, MIN_PART, - &attr, &nlanes, NULL, 0) != 0) { + NULL, &nlanes, NULL, 0) != 0) { UT_FATAL("!util_pool_open: %s", path); } -- 2.27.0