summaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 17:24:31 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-12-20 17:24:31 +0100
commit64e5faf11c22c8aabf181288293c8ec7964c213d (patch)
treef0669001e9eef2aa883df85f401947d843f684b4 /src/thread.h
parentb697682bd3c1b9cdfde97cd6a7c9d0f10103f6b4 (diff)
parent0fa481dabf620181c852f43923a3c4b049294ab4 (diff)
Merge remote-tracking branch 'origin/master' into uirefactor
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread.h b/src/thread.h
index f2c1dd0..33435e6 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -46,10 +46,10 @@ protected:
private:
#ifdef WIN32
- HANDLE tid;
+ HANDLE tid{nullptr};
static DWORD WINAPI
#else
- pthread_t tid;
+ pthread_t tid{0};
static void*
#endif/*WIN32*/
thread_run(void *data);