fix build error in ‘vfs_preallocate’: vfs.c:613:12: error: ‘dest_desc’ undeclared...
commitfbb770d47a4b26729f0c8f152c16f596b71356ee
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 25 Oct 2011 19:00:53 +0000 (25 22:00 +0300)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 26 Oct 2011 04:56:46 +0000 (26 07:56 +0300)
tree12c748bce18c72232d6b6a348058f9657439a533
parentc67bb4c53f89509eb80aea8bea8db6c5172f2fdb
fix build error in ‘vfs_preallocate’: vfs.c:613:12: error: ‘dest_desc’ undeclared (first use in this function)

When platform does not define HAVE_POSIX_FALLOCATE we get this error:

  CC     vfs.lo
../../../../mc/lib/vfs/vfs.c: In function 'vfs_preallocate':
../../../../mc/lib/vfs/vfs.c:613:12: error: 'dest_desc' undeclared (first use in this function)
../../../../mc/lib/vfs/vfs.c:613:12: note: each undeclared identifier is reported only once for each function it appears in
../../../../mc/lib/vfs/vfs.c:610:22: warning: unused parameter 'dest_vfs_fd' [-Wunused-parameter]

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
lib/vfs/vfs.c