Description: [fix]Uninitialized parameter

Bug: #I2E08N
Test:
This commit is contained in:
chenjing 2021-04-17 10:04:29 +08:00
parent 0e56ee6509
commit 9c13a59ac0
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ static INT FatfsScanFat(void *handle)
{
FATFS *fat = (FATFS *)handle;
UINT i;
INT ret;
INT ret = FR_OK;
for (i = 0; i < fat->vir_amount; i++) {
/* Assert error will not abort the scanning process */