summaryrefslogtreecommitdiffstats
path: root/src/ewf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-08-05 09:37:25 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-08-05 09:37:25 +0200
commit5a12cb2d50b1f26b3cd3df3fdf99c3160d69958b (patch)
treefa61440edea21dd318d2b285de0221e6f6df6bdd /src/ewf.c
parent594016c8562bdfabb8c9f4b6d82444f56b602130 (diff)
Fix some compilation warning when ncurses isn't used
Diffstat (limited to 'src/ewf.c')
-rw-r--r--src/ewf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ewf.c b/src/ewf.c
index 57b6b85..a97af29 100644
--- a/src/ewf.c
+++ b/src/ewf.c
@@ -240,7 +240,6 @@ static int fewf_read(disk_t *disk_car,const unsigned int count, void *nom_buffer
static int fewf_nowrite(disk_t *disk_car,const unsigned int count, const void *nom_buffer, const uint64_t offset)
{
- struct info_fewf_struct *data=(struct info_fewf_struct *)disk_car->data;
log_error("fewf_nowrite(xx,%u,buffer,%lu(%u/%u/%u)) write refused\n",
(unsigned)(count/disk_car->sector_size), (long unsigned)(offset/disk_car->sector_size),
offset2cylinder(disk_car,offset), offset2head(disk_car,offset), offset2sector(disk_car,offset));