Travis: Fixed Cppcheck warnings

This commit is contained in:
Gerhard Zlabinger 2012-12-13 21:03:41 +01:00 committed by Daniel Marjamäki
parent c4821db796
commit d149b9b06c
1 changed files with 6 additions and 1 deletions

View File

@ -43,8 +43,13 @@
ThreadExecutor::ThreadExecutor(const std::map<std::string, std::size_t> &files, Settings &settings, ErrorLogger &errorLogger) ThreadExecutor::ThreadExecutor(const std::map<std::string, std::size_t> &files, Settings &settings, ErrorLogger &errorLogger)
: _files(files), _settings(settings), _errorLogger(errorLogger), _fileCount(0) : _files(files), _settings(settings), _errorLogger(errorLogger), _fileCount(0)
{ {
#ifdef THREADING_MODEL_FORK #if defined(THREADING_MODEL_FORK)
_wpipe = 0; _wpipe = 0;
#elif defined(THREADING_MODEL_WIN)
_processedFiles = 0;
_totalFiles = 0;
_processedSize = 0;
_totalFileSize = 0;
#endif #endif
} }