summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2022-06-20 12:04:43 +1000
committerChris Johns <chrisj@rtems.org>2022-06-21 10:21:13 +1000
commit6b2c5b5da1a0394c9ffa81fc55e73920be9f6bff (patch)
tree9009f1b3038a36ecd7c3ada3170c4603aca36d9d /testsuites/psxtests/psxhdrs/termios/cfgetispeed.c
parentjffs2: Update baseline version to Linux v5.9 (diff)
downloadrtems-6b2c5b5da1a0394c9ffa81fc55e73920be9f6bff.tar.bz2
testsuite: Fix gcc 12 warnings
Diffstat (limited to 'testsuites/psxtests/psxhdrs/termios/cfgetispeed.c')
-rw-r--r--testsuites/psxtests/psxhdrs/termios/cfgetispeed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c b/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c
index e98a28179e..0c8d304a71 100644
--- a/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c
+++ b/testsuites/psxtests/psxhdrs/termios/cfgetispeed.c
@@ -40,11 +40,11 @@ int test( void );
int test( void )
{
- struct termios term;
+ struct termios term = { 0 };
speed_t rate;
rate = cfgetispeed(&term);
(void) rate;
return 0;
-} \ No newline at end of file
+}