提交 6ae0b458 编写于 作者: B bernard.xiong

fix compiling warning.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1167 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 aff115bb
...@@ -532,7 +532,7 @@ void copy(const char* src, const char* dst) ...@@ -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)
......
...@@ -55,6 +55,6 @@ void finsh_set_echo(rt_uint32_t echo); ...@@ -55,6 +55,6 @@ void finsh_set_echo(rt_uint32_t echo);
rt_uint32_t finsh_get_echo(void); rt_uint32_t finsh_get_echo(void);
void finsh_set_device(const char* device_name); void finsh_set_device(const char* device_name);
const char* finsh_get_device(); const char* finsh_get_device(void);
#endif #endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册