Pārlūkot izejas kodu

CEventLoop: Add a missing initializer to EventLoopTimer.

Andreas Kling 6 gadi atpakaļ
vecāks
revīzija
caeb4b7a7e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Libraries/LibCore/CEventLoop.h

+ 1 - 1
Libraries/LibCore/CEventLoop.h

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