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.
This commit is contained in:
Sebastian Huber
2021-04-07 06:40:16 +02:00
parent 089e68181e
commit b3364fc6cb

View File

@@ -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;