summaryrefslogtreecommitdiffstats
path: root/src/qphbs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qphbs.cpp')
-rw-r--r--src/qphbs.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/qphbs.cpp b/src/qphbs.cpp
index b8b5c41..e0e6438 100644
--- a/src/qphbs.cpp
+++ b/src/qphbs.cpp
@@ -97,12 +97,7 @@ pstatus_t QPhotorec::photorec_find_blocksize(alloc_data_t *list_search_space)
uint64_t old_offset=offset;
{
file_recovery_t file_recovery_new;
- if(file_recovery.file_stat!=NULL &&
- file_recovery.file_stat->file_hint->min_header_distance > 0 &&
- file_recovery.file_size<=file_recovery.file_stat->file_hint->min_header_distance)
- {
- }
- else if(file_recovery.file_stat!=NULL && file_recovery.file_stat->file_hint==&file_hint_tar &&
+ if(file_recovery.file_stat!=NULL && file_recovery.file_stat->file_hint==&file_hint_tar &&
header_check_tar(buffer-0x200,0x200,0,&file_recovery,&file_recovery_new))
{ /* Currently saving a tar, do not check the data for know header */
}