summaryrefslogtreecommitdiffstats
path: root/src/msdos.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-08-23 16:01:55 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2010-08-23 16:01:55 +0200
commit90f2b63eac56a8c5dfb8d6471f817b3f9c9ecdc0 (patch)
tree5397292a9a47fd7eba91c3913f4fd396e0dccecc /src/msdos.c
parent643d625772c17a9467512f050b95e81b83b8594c (diff)
Code cleanup
Diffstat (limited to 'src/msdos.c')
-rw-r--r--src/msdos.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c
index 7d53f93..06cca88 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -491,7 +491,6 @@ static int disk_pread(disk_t *disk_car, void *buf, const unsigned int count, con
static int disk_pwrite_aux(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t hd_offset)
{
- struct info_disk_struct*data=disk_car->data;
int i=0;
int rc;
disk_car->write_used=1;
@@ -542,7 +541,6 @@ static int disk_clean(disk_t *disk_car)
static int hd_report_error(disk_t *disk_car, const uint64_t hd_offset, const unsigned int count, const int rc)
{
- struct info_disk_struct*data=disk_car->data;
log_error(" lba=%lu(%u/%u/%u) nbr_sector=%u, rc=%d\n",(long unsigned int)(hd_offset/disk_car->sector_size),
offset2cylinder(disk_car,hd_offset),offset2head(disk_car,hd_offset),offset2sector(disk_car,hd_offset),
count/disk_car->sector_size,rc);