summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorbernard.xiong <[email protected]>2010-12-01 01:54:26 +0000
committerbernard.xiong <[email protected]>2010-12-01 01:54:26 +0000
commit6ae0b45820630973ec992270205b18b1971d47f0 (patch)
tree9cf472bfa442c7efa292d0390e16b3f91bdb63e5 /components/dfs
parentaff115bbbc9a57c503a1b39cef66701e0c29fb9b (diff)
fix compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1167 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/src/dfs_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/dfs/src/dfs_file.c b/components/dfs/src/dfs_file.c
index 5939cd680e..15b42a2af9 100644
--- a/components/dfs/src/dfs_file.c
+++ b/components/dfs/src/dfs_file.c
@@ -532,7 +532,7 @@ void copy(const char* src, const char* dst)
{
struct dfs_fd src_fd;
rt_uint8_t *block_ptr;
- rt_uint32_t read_bytes, write_bytes;
+ rt_uint32_t read_bytes;
block_ptr = rt_malloc(BUF_SZ);
if (block_ptr == RT_NULL)