projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fe753c
)
Fix Windows build
author
Craig Robbins
<kde.psych@gmail.com>
Mon, 2 May 2016 05:01:17 +0000
(15:01 +1000)
committer
Craig Robbins
<kde.psych@gmail.com>
Mon, 2 May 2016 05:01:17 +0000
(15:01 +1000)
Fixes the issue introduced by
c1a0ebb
(Fix use of uninitialised variable
in class Event) causing Windows builds to fail
src/threading/event.cpp
patch
|
blob
|
history
diff --git
a/src/threading/event.cpp
b/src/threading/event.cpp
index b7f16154ebc946e3d55cc9f2af6b8b9a0e45f5c7..165f9d83f9563d64760edc2cfe323ad74683557d 100644
(file)
--- a/
src/threading/event.cpp
+++ b/
src/threading/event.cpp
@@
-26,7
+26,6
@@
DEALINGS IN THE SOFTWARE.
#include "threading/event.h"
Event::Event()
- : notified(false)
{
#if __cplusplus < 201103L
# ifdef _WIN32
@@
-34,6
+33,7
@@
Event::Event()
# else
pthread_cond_init(&cv, NULL);
pthread_mutex_init(&mutex, NULL);
+ notified = false;
# endif
#endif
}