Initialized variables to appease gcc 4.2

This commit is contained in:
dain 2008-10-02 13:20:30 -06:00
parent 07daa9be51
commit c9e0aa824d

View File

@ -292,9 +292,10 @@ class MySystem: public System {
Thread* t = static_cast<Thread*>(context);
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;
{ ACQUIRE(t->mutex);