summaryrefslogtreecommitdiffstats
path: root/src/analyse.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/analyse.c
parent594016c8562bdfabb8c9f4b6d82444f56b602130 (diff)
Fix some compilation warning when ncurses isn't used
Diffstat (limited to 'src/analyse.c')
-rw-r--r--src/analyse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyse.c b/src/analyse.c
index 29228f4..2bf21da 100644
--- a/src/analyse.c
+++ b/src/analyse.c
@@ -270,7 +270,9 @@ list_part_t *search_superblock(disk_t *disk_car, const partition_t *partition, c
int nbr_sb=0;
list_part_t *list_part=NULL;
int ind_stop=0;
+#ifdef HAVE_NCURSES
unsigned long int old_percent=0;
+#endif
struct ext2_super_block *sb=(struct ext2_super_block *)buffer;
partition_t *new_partition=partition_new(disk_car->arch);
log_trace("search_superblock\n");