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/psxhdrs/termios/tcgetattr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxhdrs/termios/tcgetattr.c') diff --git a/testsuites/psxtests/psxhdrs/termios/tcgetattr.c b/testsuites/psxtests/psxhdrs/termios/tcgetattr.c index d00336b214..843b7c8281 100644 --- a/testsuites/psxtests/psxhdrs/termios/tcgetattr.c +++ b/testsuites/psxtests/psxhdrs/termios/tcgetattr.c @@ -42,9 +42,9 @@ int test( void ) { int result; int fildes = 0; - struct termios term; + struct termios term = { 0 }; result = tcgetattr(fildes, &term); return result; -} \ No newline at end of file +} -- cgit v1.2.3