!150 Initialize a parameter

Merge pull request !150 from JING/master
This commit is contained in:
openharmony_ci 2021-04-19 10:18:25 +08:00 committed by Gitee
commit 23ee3689da
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 */