diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-07 06:40:16 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-07 06:41:09 +0200 |
commit | b3364fc6cb2d7566cf5771a96711cd37b99cd9a3 (patch) | |
tree | e7102e4bb3500704e84c0c7434f66f0dfd42bdab | |
parent | score: Replace Objects_Name_or_id_lookup_errors (diff) | |
download | rtems-b3364fc6cb2d7566cf5771a96711cd37b99cd9a3.tar.bz2 |
libtests/block14: Fix warning
Fix warning:
testsuites/libtests/block14/init.c:198:8: warning: 'sc' may be used
uninitialized in this function [-Wmaybe-uninitialized]
Update #3689.
Diffstat (limited to '')
-rw-r--r-- | testsuites/libtests/block14/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/libtests/block14/init.c b/testsuites/libtests/block14/init.c index 13b7ab05ad..679606d481 100644 --- a/testsuites/libtests/block14/init.c +++ b/testsuites/libtests/block14/init.c @@ -180,7 +180,7 @@ static void test_actions(rtems_disk_device *dd) for (i = 0; i < ACTION_COUNT; ++i) { const test_action *action = &actions [i]; - rtems_status_code sc; + rtems_status_code sc = RTEMS_INVALID_ADDRESS; rtems_bdbuf_buffer *bd; rtems_blkdev_stats stats; |