summaryrefslogtreecommitdiffstats
path: root/src/ntfs_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-04-14 12:24:59 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2009-04-14 12:24:59 +0200
commita6c4be00b5500f7faf833872755f6861d3f13378 (patch)
treef372893704d0f53b287976bd757b202036bd0198 /src/ntfs_dir.c
parent33222ee2fc2c5143ebf15e682a226ce67fecbf3d (diff)
Code cleanup: remove unused variable in src/ntfs_dir.c
Make fd variable more local in src/ntfs_udl.c
Diffstat (limited to 'src/ntfs_dir.c')
-rw-r--r--src/ntfs_dir.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ntfs_dir.c b/src/ntfs_dir.c
index 0a139e5..afd0144 100644
--- a/src/ntfs_dir.c
+++ b/src/ntfs_dir.c
@@ -408,12 +408,8 @@ static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t
static void dir_partition_ntfs_close(dir_data_t *dir_data)
{
- const partition_t *partition;
- disk_t *disk_car;
struct ntfs_dir_struct *ls=(struct ntfs_dir_struct*)dir_data->private_dir_data;
/* ntfs_umount() will invoke ntfs_device_free() for us. */
- disk_car=ls->my_data->disk_car;
- partition=ls->my_data->partition;
ntfs_umount(ls->vol, FALSE);
free(ls->my_data);
#ifdef HAVE_ICONV