--- a/scanner.c Thu Oct 06 00:06:30 2011 +0200 +++ b/scanner.c Sat Oct 15 14:52:12 2011 +0200 @@ -12,9 +12,8 @@ int scanDirectory(DIR *dir, const int spaces, char* currdir, settings_t* settings) { DIR *subdir; - char* subdirname; struct dirent *entry; - int lines, digits, a; + int lines, a; int lineSum = 0; while ((entry = readdir(dir)) != NULL) {