Description: [fix]Initialize parameter
Bug: Uninitialized parameter Test:
This commit is contained in:
parent
b9b9d6dbaf
commit
77e8075f2f
|
@ -188,7 +188,7 @@ static INT FatfsScanFat(void *handle)
|
||||||
{
|
{
|
||||||
FATFS *fat = (FATFS *)handle;
|
FATFS *fat = (FATFS *)handle;
|
||||||
UINT i;
|
UINT i;
|
||||||
INT ret;
|
INT ret = FR_OK;
|
||||||
|
|
||||||
for (i = 0; i < fat->vir_amount; i++) {
|
for (i = 0; i < fat->vir_amount; i++) {
|
||||||
/* Assert error will not abort the scanning process */
|
/* Assert error will not abort the scanning process */
|
||||||
|
|
Loading…
Reference in New Issue