diff options
author | Christophe Grenier <grenier@cgsecurity.org> | 2013-05-17 17:05:23 +0200 |
---|---|---|
committer | Christophe Grenier <grenier@cgsecurity.org> | 2013-05-17 17:05:23 +0200 |
commit | 9bdce047d09aaffe12eca9ab142d884013ed5153 (patch) | |
tree | 95a718ff9a2dad0a9b177d61cc619e35a9234fc4 /src/photorec.c | |
parent | d34efb0a16fb742759f1493329ea7c9862261312 (diff) |
Remove unused function write_stats_stdout()
Diffstat (limited to 'src/photorec.c')
-rw-r--r-- | src/photorec.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/photorec.c b/src/photorec.c index ef1fb57..73e00e5 100644 --- a/src/photorec.c +++ b/src/photorec.c @@ -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; |