mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
fix GCC 4.2 -Os uninitialized variable warning in windows.cpp
This commit is contained in:
parent
8add9db0b2
commit
79a1d0451f
@ -238,9 +238,11 @@ class MySystem: public System {
|
||||
assert(s, t);
|
||||
|
||||
if (owner_ == t) {
|
||||
bool interrupted;
|
||||
bool notified;
|
||||
unsigned depth;
|
||||
// Initialized here to make gcc 4.2 a happy compiler
|
||||
bool interrupted = false;
|
||||
bool notified = false;
|
||||
unsigned depth = 0;
|
||||
|
||||
int r UNUSED;
|
||||
|
||||
{ ACQUIRE(s, t->mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user