summaryrefslogtreecommitdiffstats
path: root/src/file_mp3.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-10-25 18:26:16 +0100
commit5156d5b462f00da3830dc6314dd74feda37f1257 (patch)
tree85ff8a96aeab5a1cdd6054f6be8a53d12d401788 /src/file_mp3.c
parent4a75ec8effe3e4878e7710a1322d8ed86f059c08 (diff)
Code cleanup
Diffstat (limited to 'src/file_mp3.c')
-rw-r--r--src/file_mp3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_mp3.c b/src/file_mp3.c
index 1eb4865..a847ce7 100644
--- a/src/file_mp3.c
+++ b/src/file_mp3.c
@@ -258,7 +258,7 @@ static int data_check_mp3(const unsigned char *buffer, const unsigned int buffer
while(file_recovery->calculated_file_size + buffer_size/2 >= file_recovery->file_size &&
file_recovery->calculated_file_size + 16 < file_recovery->file_size + buffer_size/2)
{
- unsigned int MMT_size = 0;
+ unsigned int MMT_size;
const unsigned int i=file_recovery->calculated_file_size - file_recovery->file_size + buffer_size/2;
/*
log_trace("data_check_mp3 start i=0x%x buffer_size=0x%x calculated_file_size=%lu file_size=%lu\n",