Removed "#pragma warning" from threadexecutor.cpp

This commit is contained in:
PKEuS 2015-01-21 18:46:33 +01:00
parent fb58718ad1
commit 26fa994f14
1 changed files with 2 additions and 9 deletions

View File

@ -425,7 +425,7 @@ unsigned int __stdcall ThreadExecutor::threadProc(void *args)
for (;;) {
if (it == threadExecutor->_files.end()) {
LeaveCriticalSection(&threadExecutor->_fileSync);
return result;
break;
}
const std::string &file = it->first;
@ -452,15 +452,8 @@ unsigned int __stdcall ThreadExecutor::threadProc(void *args)
CppCheckExecutor::reportStatus(threadExecutor->_processedFiles, threadExecutor->_totalFiles, threadExecutor->_processedSize, threadExecutor->_totalFileSize);
LeaveCriticalSection(&threadExecutor->_reportSync);
}
};
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning( disable : 4702 )
#endif
}
return result;
#ifdef _MSC_VER
#pragma warning(pop)
#endif
}
void ThreadExecutor::reportOut(const std::string &outmsg)