Description: [fix]Initialize parameter

Bug: Uninitialized parameter
Test:
This commit is contained in:
chenjing 2021-04-16 15:37:26 +08:00
parent b9b9d6dbaf
commit 77e8075f2f
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 */