Description: [fix]Uninitialized parameter
Bug: #I2E08N Test:
This commit is contained in:
parent
0e56ee6509
commit
9c13a59ac0
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue