summaryrefslogtreecommitdiffstats
path: root/src/file_dvr.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-09-23 14:03:57 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-09-23 14:03:57 +0200
commit05f8db763826fdd8771a82a34600704ba7390801 (patch)
tree6e4b1dbc47144c16480aa8ba474bd20e8399657a /src/file_dvr.c
parent4dab23d10572db08a5099bd2043eb35a4e518a9b (diff)
PhotoRec: remove some useless call to header_ignored() when there is actually no file checking
Diffstat (limited to 'src/file_dvr.c')
-rw-r--r--src/file_dvr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_dvr.c b/src/file_dvr.c
index bf2c9b1..4adbbb7 100644
--- a/src/file_dvr.c
+++ b/src/file_dvr.c
@@ -47,7 +47,7 @@ static int header_check_dvr(const unsigned char *buffer, const unsigned int buff
return 0;
if(file_recovery->file_stat!=NULL && file_recovery->file_stat->file_hint==&file_hint_dvr)
{
- header_ignored(file_recovery_new);
+ /* header_ignored(file_recovery_new); is useless as there is no file check */
return 0;
}
reset_file_recovery(file_recovery_new);