diff -r 9a262e046ab8 -r bc9a0fefd892 scanner.c --- a/scanner.c Mon Sep 19 08:11:08 2011 +0200 +++ b/scanner.c Tue Sep 20 15:19:28 2011 +0200 @@ -44,10 +44,6 @@ // Count lines lines = 0; - /* char filename[(1+strlen(currdir)+strlen(entry->d_name))]; - strcpy(filename, currdir); - strncat(filename, &settings->fileSeparator, 1); - strcat(filename, entry->d_name); */ if (testSuffix(filename, settings)) { FILE *file = fopen(filename, "r"); if (file == NULL) { @@ -72,8 +68,7 @@ #endif /* _WIN32 */ lineSum += lines; - } - else { + } else { if (!settings->matchesOnly) { // Print hint #ifdef _WIN32