mirror of
https://github.com/corda/corda.git
synced 2025-01-09 14:33:30 +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);
|
assert(s, t);
|
||||||
|
|
||||||
if (owner_ == t) {
|
if (owner_ == t) {
|
||||||
bool interrupted;
|
// Initialized here to make gcc 4.2 a happy compiler
|
||||||
bool notified;
|
bool interrupted = false;
|
||||||
unsigned depth;
|
bool notified = false;
|
||||||
|
unsigned depth = 0;
|
||||||
|
|
||||||
int r UNUSED;
|
int r UNUSED;
|
||||||
|
|
||||||
{ ACQUIRE(s, t->mutex);
|
{ ACQUIRE(s, t->mutex);
|
||||||
|
Loading…
Reference in New Issue
Block a user