From: Zbigniew Jędrzejewski-Szmek Date: Wed, 9 Jun 2021 10:36:06 +0000 (+0200) Subject: test-capability: drop work-around initialization X-Git-Tag: v249-rc1~46^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=21996f81b282569e2f9dd748b461fe853973eaeb;p=thirdparty%2Fsystemd.git 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. --- 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);