summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-17 16:49:39 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-17 16:49:39 +0200
commit6c85229f6b5b2de257288a8908b8a3e7ccb3446c (patch)
tree7da6ab91c47d04a274377e6f869bc6e28fd11ccd /src
parentccbedc1529ad94798f24f517af17239f4380f8fe (diff)
file_check_axx: make some variables more local
Diffstat (limited to 'src')
-rw-r--r--src/file_axx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_axx.c b/src/file_axx.c
index efbe49d..0465b9b 100644
--- a/src/file_axx.c
+++ b/src/file_axx.c
@@ -52,11 +52,11 @@ struct SHeader
static void file_check_axx(file_recovery_t *fr)
{
- struct SHeader header;
- unsigned int len;
uint64_t offset=0x10;
while(1)
{
+ struct SHeader header;
+ unsigned int len;
if(fseek(fr->handle, offset, SEEK_SET) < 0)
return ;
if (fread(&header, sizeof(header), 1, fr->handle)!=1)