|
@@ -532,7 +532,7 @@ void copy(const char* src, const char* dst)
|
|
{
|
|
{
|
|
struct dfs_fd src_fd;
|
|
struct dfs_fd src_fd;
|
|
rt_uint8_t *block_ptr;
|
|
rt_uint8_t *block_ptr;
|
|
- rt_uint32_t read_bytes, write_bytes;
|
|
|
|
|
|
+ rt_uint32_t read_bytes;
|
|
|
|
|
|
block_ptr = rt_malloc(BUF_SZ);
|
|
block_ptr = rt_malloc(BUF_SZ);
|
|
if (block_ptr == RT_NULL)
|
|
if (block_ptr == RT_NULL)
|