From 6b2c5b5da1a0394c9ffa81fc55e73920be9f6bff Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 20 Jun 2022 12:04:43 +1000 Subject: testsuite: Fix gcc 12 warnings --- testsuites/psxtests/psxmsgq01/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuites/psxtests/psxmsgq01/init.c') diff --git a/testsuites/psxtests/psxmsgq01/init.c b/testsuites/psxtests/psxmsgq01/init.c index 3c77beb038..c6b3d92464 100644 --- a/testsuites/psxtests/psxmsgq01/init.c +++ b/testsuites/psxtests/psxmsgq01/init.c @@ -1133,7 +1133,7 @@ void verify_with_threads(void) void validate_mq_setattr(void) { - struct mq_attr attr; + struct mq_attr attr = { 0 }; struct mq_attr save_attr[ NUMBER_OF_TEST_QUEUES ]; int status; int i; -- cgit v1.2.3