ThreadExecutor: Fixed error message 'member variable _pipe not initialized'. Ticket: #2283
This commit is contained in:
parent
ee083cd7a0
commit
e6bef96711
@ -33,7 +33,9 @@
|
|||||||
ThreadExecutor::ThreadExecutor(const std::vector<std::string> &filenames, const Settings &settings, ErrorLogger &errorLogger)
|
ThreadExecutor::ThreadExecutor(const std::vector<std::string> &filenames, const Settings &settings, ErrorLogger &errorLogger)
|
||||||
: _filenames(filenames), _settings(settings), _errorLogger(errorLogger), _fileCount(0)
|
: _filenames(filenames), _settings(settings), _errorLogger(errorLogger), _fileCount(0)
|
||||||
{
|
{
|
||||||
|
#if (defined(__GNUC__) || defined(__sun)) && !defined(__MINGW32__)
|
||||||
|
_pipe[0] = _pipe[1] = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
ThreadExecutor::~ThreadExecutor()
|
ThreadExecutor::~ThreadExecutor()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user