Fix build with MSVC 2013

Also add an assert hinted by MSVC code analysis tool.

No functional change.
This commit is contained in:
Marco Costalba
2013-07-13 13:02:40 +02:00
parent 2a0bbb9faa
commit 404c4122ce
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -1669,6 +1669,7 @@ void Thread::idle_loop() {
Threads.mutex.lock();
assert(searching);
assert(activeSplitPoint);
SplitPoint* sp = activeSplitPoint;
Threads.mutex.unlock();