diff --git a/src/sim/eventq.hh b/src/sim/eventq.hh index 394fd4d8dd..f726a6dbdc 100644 --- a/src/sim/eventq.hh +++ b/src/sim/eventq.hh @@ -239,7 +239,7 @@ class Event : public EventBase, public Serializable bool initialized() const { - return this && (flags & InitMask) == Initialized; + return (flags & InitMask) == Initialized; } protected: