summaryrefslogtreecommitdiffstats
path: root/src/godmode.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/godmode.c
parent643d625772c17a9467512f050b95e81b83b8594c (diff)
Code cleanup
Diffstat (limited to 'src/godmode.c')
-rw-r--r--src/godmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/godmode.c b/src/godmode.c
index 834261d..28ae96c 100644
--- a/src/godmode.c
+++ b/src/godmode.c
@@ -471,7 +471,6 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
/* Scan the disk */
while(ind_stop==0 && search_location < search_location_max)
{
- unsigned int sector_inc=0;
static CHS_t start;
offset2CHS_inline(disk_car,search_location,&start);
#ifdef HAVE_NCURSES
@@ -489,6 +488,7 @@ static list_part_t *search_part(disk_t *disk_car, const list_part_t *list_part_o
}
#endif
{
+ unsigned int sector_inc=0;
int test_nbr=0;
int search_now=0;
int search_now_raid=0;