1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00

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.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-06-09 12:36:06 +02:00
parent 59ca71a93d
commit 21996f81b2

View File

@ -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);