ThreadExecutor: Fixed error message 'member variable _pipe not initialized'. Ticket: #2283

This commit is contained in:
Daniel Marjamäki 2010-12-09 19:03:41 +01:00
parent ee083cd7a0
commit e6bef96711
1 changed files with 3 additions and 1 deletions

View File

@ -33,7 +33,9 @@
ThreadExecutor::ThreadExecutor(const std::vector<std::string> &filenames, const Settings &settings, ErrorLogger &errorLogger)
: _filenames(filenames), _settings(settings), _errorLogger(errorLogger), _fileCount(0)
{
#if (defined(__GNUC__) || defined(__sun)) && !defined(__MINGW32__)
_pipe[0] = _pipe[1] = 0;
#endif
}
ThreadExecutor::~ThreadExecutor()