diff --git a/cli/threadexecutor.cpp b/cli/threadexecutor.cpp index 11a60530b..708e7bd0c 100644 --- a/cli/threadexecutor.cpp +++ b/cli/threadexecutor.cpp @@ -43,8 +43,13 @@ ThreadExecutor::ThreadExecutor(const std::map &files, Settings &settings, ErrorLogger &errorLogger) : _files(files), _settings(settings), _errorLogger(errorLogger), _fileCount(0) { -#ifdef THREADING_MODEL_FORK +#if defined(THREADING_MODEL_FORK) _wpipe = 0; +#elif defined(THREADING_MODEL_WIN) + _processedFiles = 0; + _totalFiles = 0; + _processedSize = 0; + _totalFileSize = 0; #endif }