diff options
author | Christophe Grenier <grenier@cgsecurity.org> | 2017-12-24 15:28:45 +0100 |
---|---|---|
committer | Christophe Grenier <grenier@cgsecurity.org> | 2017-12-24 15:28:45 +0100 |
commit | c8dc1b08693a6657c94b279e1c7b394630388025 (patch) | |
tree | e2143cb3d4da8533d7eb08371e5a98af7dace34f | |
parent | 291fec31472be0cedb96f5c3fbc9af96af80d1d5 (diff) |
PhotoRec: remove useless variable file_recovery in fat_unformat_aux()
-rw-r--r-- | src/fat_unformat.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fat_unformat.c b/src/fat_unformat.c index 10b164e..2bae824 100644 --- a/src/fat_unformat.c +++ b/src/fat_unformat.c @@ -215,7 +215,6 @@ static pstatus_t fat_unformat_aux(struct ph_param *params, const struct ph_optio const unsigned int cluster_size=params->blocksize; const unsigned int read_size=(cluster_size>65536?cluster_size:65536); alloc_data_t *current_search_space; - file_recovery_t file_recovery; disk_t *disk=params->disk; const partition_t *partition=params->partition; const unsigned long int no_of_cluster=(partition->part_size - start_data) / cluster_size; @@ -224,8 +223,6 @@ static pstatus_t fat_unformat_aux(struct ph_param *params, const struct ph_optio #ifdef HAVE_NCURSES aff_copy(stdscr); #endif - reset_file_recovery(&file_recovery); - file_recovery.blocksize=cluster_size; start_time=time(NULL); previous_time=start_time; current_search_space=td_list_last_entry(&list_search_space->list, alloc_data_t, list); |