>>From effacd2ec1fe22db7d4af72c0b35bb08710b47ba Mon Sep 17 00:00:00 2001 From: Frank Dittrich Date: Sat, 23 Jun 2012 20:54:49 +0200 Subject: [PATCH] Fix gcc warnings in --list=format-details code --- src/john.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/john.c b/src/john.c index 97057db..88d0af5 100644 --- a/src/john.c +++ b/src/john.c @@ -770,14 +770,9 @@ static void john_init(char *name, int argc, char **argv) if (options.listconf && !strcasecmp(options.listconf, "format-details")) { struct fmt_main *format; - int i; - - i = 0; format = fmt_list; do { - int ntests; - struct fmt_tests *current; - ntests = 0; + int ntests = 0; if(format->params.tests) { while (format->params.tests[ntests++].ciphertext); -- 1.7.7.6