Remove unused function write_stats_stdout()
This commit is contained in:
parent
d34efb0a16
commit
9bdce047d0
2 changed files with 0 additions and 26 deletions
|
@ -486,31 +486,6 @@ int sorfile_stat_ts(const void *p1, const void *p2)
|
|||
return 0;
|
||||
}
|
||||
|
||||
void write_stats_stdout(const file_stat_t *file_stats)
|
||||
{
|
||||
int i;
|
||||
unsigned int file_nbr=0;
|
||||
for(i=0;file_stats[i].file_hint!=NULL;i++)
|
||||
{
|
||||
if(file_stats[i].recovered+file_stats[i].not_recovered>0)
|
||||
{
|
||||
file_nbr+=file_stats[i].recovered;
|
||||
printf("%s: %u/%u recovered\n",
|
||||
(file_stats[i].file_hint->extension!=NULL?
|
||||
file_stats[i].file_hint->extension:""),
|
||||
file_stats[i].recovered, file_stats[i].recovered+file_stats[i].not_recovered);
|
||||
}
|
||||
}
|
||||
if(file_nbr>1)
|
||||
{
|
||||
printf("Total: %u files found\n\n",file_nbr);
|
||||
}
|
||||
else
|
||||
{
|
||||
printf("Total: %u file found\n\n",file_nbr);
|
||||
}
|
||||
}
|
||||
|
||||
partition_t *new_whole_disk(const disk_t *disk_car)
|
||||
{
|
||||
partition_t *fake_partition;
|
||||
|
|
|
@ -68,7 +68,6 @@ int file_finish(file_recovery_t *file_recovery, struct ph_param *params,
|
|||
alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset);
|
||||
int file_finish2(file_recovery_t *file_recovery, struct ph_param *params, const struct ph_options *options, alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset);
|
||||
void write_stats_log(const file_stat_t *file_stats);
|
||||
void write_stats_stdout(const file_stat_t *file_stats);
|
||||
void update_stats(file_stat_t *file_stats, alloc_data_t *list_search_space);
|
||||
partition_t *new_whole_disk(const disk_t *disk_car);
|
||||
unsigned int find_blocksize(alloc_data_t *list_file, const unsigned int default_blocksize, uint64_t *offset);
|
||||
|
|
Loading…
Reference in a new issue