From 2188d0600331ccd4478e8fcab527329c0b071165 Mon Sep 17 00:00:00 2001 From: bernard Date: Sat, 11 Jan 2014 16:34:15 +0800 Subject: [PATCH] [DFS] remove a compiling warning --- components/dfs/filesystems/nfs/dfs_nfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/dfs/filesystems/nfs/dfs_nfs.c b/components/dfs/filesystems/nfs/dfs_nfs.c index 0f40fa4292..43d2845aa0 100644 --- a/components/dfs/filesystems/nfs/dfs_nfs.c +++ b/components/dfs/filesystems/nfs/dfs_nfs.c @@ -1092,8 +1092,6 @@ int nfs_getdents(struct dfs_fd *file, struct dirent *dirp, rt_uint32_t count) index = 0; while (1) { - char *fn; - d = dirp + index; name = nfs_readdir(nfs, dir);