Browse Source

CEventLoop: Add a missing initializer to EventLoopTimer.

Andreas Kling 6 years ago
parent
commit
caeb4b7a7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Libraries/LibCore/CEventLoop.h

+ 1 - 1
Libraries/LibCore/CEventLoop.h

@@ -73,7 +73,7 @@ private:
     struct EventLoopTimer {
     struct EventLoopTimer {
         int timer_id { 0 };
         int timer_id { 0 };
         int interval { 0 };
         int interval { 0 };
-        timeval fire_time;
+        timeval fire_time { 0, 0 };
         bool should_reload { false };
         bool should_reload { false };
         WeakPtr<CObject> owner;
         WeakPtr<CObject> owner;