diff options
author | Chris Johns <chrisj@rtems.org> | 2022-06-20 12:04:43 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2022-06-21 10:21:13 +1000 |
commit | 6b2c5b5da1a0394c9ffa81fc55e73920be9f6bff (patch) | |
tree | 9009f1b3038a36ecd7c3ada3170c4603aca36d9d /testsuites/psxtests/psxhdrs/fcntl/openat.c | |
parent | jffs2: Update baseline version to Linux v5.9 (diff) | |
download | rtems-6b2c5b5da1a0394c9ffa81fc55e73920be9f6bff.tar.bz2 |
testsuite: Fix gcc 12 warnings
Diffstat (limited to 'testsuites/psxtests/psxhdrs/fcntl/openat.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/fcntl/openat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxhdrs/fcntl/openat.c b/testsuites/psxtests/psxhdrs/fcntl/openat.c index 927d56774b..1c15cd0867 100644 --- a/testsuites/psxtests/psxhdrs/fcntl/openat.c +++ b/testsuites/psxtests/psxhdrs/fcntl/openat.c @@ -5,7 +5,7 @@ /* * SPDX-License-Identifier: BSD-2-Clause - * + * * Copyright (C) 2018, Zenon * * Redistribution and use in source and binary forms, with or without @@ -40,7 +40,7 @@ int test(void); int test(void){ int i0, i1; - char c; + char c = '\0'; i0 = 0; i1 = 0; |