From a0fba290f03b9d3d4327dd01d56d8f79f08951c5 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Mon, 24 Feb 2014 02:16:33 +0100 Subject: Silence -Wextra warnings --- src/export/extract_version_2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/export/extract_version_2.c b/src/export/extract_version_2.c index fe85252..6686dca 100644 --- a/src/export/extract_version_2.c +++ b/src/export/extract_version_2.c @@ -29,7 +29,8 @@ static uint8_t mantra_in[] = { 0x68, 0x35, 0x2d, 0x6c }; int main( int args, char **argv ) { int filenum = 0, run = 1; - size_t offset = 0, oldoffset = -1, reported = 0, enc_len = 32; + size_t offset = 0, reported = 0, enc_len = 32; + ssize_t oldoffset = -1; uint8_t mantra[4], id0, id5, *mappedfile; MAP map; @@ -87,9 +88,8 @@ int main( int args, char **argv ) if( oldoffset != -1 ) { uint8_t *mf = mappedfile + oldoffset, df[128]; - size_t filename_len, header_len; + size_t filename_len, header_len, i; char filename_template[32], filename[32]; - int i; /* De-"crypt" obfuscation to our header copy */ for( i=0; i