diff --git a/fs/fat/virpart/src/virpart.c b/fs/fat/virpart/src/virpart.c index 2b7121729ab5a1801fba3b1f37c987521382011c..83d6618853c7fb34439e1fbe2dc312edd0e260ce 100755 --- a/fs/fat/virpart/src/virpart.c +++ b/fs/fat/virpart/src/virpart.c @@ -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 */