mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-19 03:01:22 +08:00
fixed uninitialized variable.
This commit is contained in:
parent
f71555ec55
commit
9bb005312f
@ -182,7 +182,7 @@ int dfs_elm_mkfs(rt_device_t dev_id)
|
||||
{
|
||||
#define FSM_STATUS_INIT 0
|
||||
#define FSM_STATUS_USE_TEMP_DRIVER 1
|
||||
FATFS *fat;
|
||||
FATFS *fat = RT_NULL;
|
||||
int flag;
|
||||
FRESULT result;
|
||||
int index;
|
||||
|
Loading…
x
Reference in New Issue
Block a user