From 21996f81b282569e2f9dd748b461fe853973eaeb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 9 Jun 2021 12:36:06 +0200 Subject: [PATCH] test-capability: drop work-around initialization Since those workarounds have been added, work has been done to tighten up log_*() return values. Seems we get no warning with gcc-11.1.1-1.fc34.x86_64 and -O0/-O2. --- src/test/test-capability.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/test-capability.c b/src/test/test-capability.c index 7a781e57e49..94f15bfb213 100644 --- a/src/test/test-capability.c +++ b/src/test/test-capability.c @@ -248,7 +248,7 @@ static void test_ensure_cap_64bit(void) { } int main(int argc, char *argv[]) { - bool run_ambient = false; /* avoid false maybe-uninitialized warning */ + bool run_ambient; test_setup_logging(LOG_INFO); -- 2.47.3