Fix issues detected by Coverity Scan

Most of Coverity Scan reports are false
positives, but in rare cases we have
confirmed (very small) issues.

No functional change.
This commit is contained in:
Marco Costalba
2014-04-26 09:20:37 +02:00
parent 7ddbcf7e87
commit 55604f156b
4 changed files with 5 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ struct SplitPoint {
struct ThreadBase {
ThreadBase() : exit(false) {}
ThreadBase() : handle(NativeHandle()), exit(false) {}
virtual ~ThreadBase() {}
virtual void idle_loop() = 0;
void notify_one();