forked from Imagelibrary/rtems
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user