From 2e2f336f756fe1fdf24017538e7144eee8118f98 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 17 Feb 2013 15:09:16 +1300 Subject: [PATCH] Initialize EventLoop members These members are setup when starting the event loop, but it helps to have them set to sane values on construction just in case. Detected by Coverity Scan. Issue 740515 --- src/EventLoop.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/EventLoop.cc b/src/EventLoop.cc index 7760d746d4..247ada8e23 100644 --- a/src/EventLoop.cc +++ b/src/EventLoop.cc @@ -38,7 +38,10 @@ #include "SquidTime.h" EventLoop::EventLoop() : errcount(0), last_loop(false), timeService(NULL), - primaryEngine(NULL) + primaryEngine(NULL), + loop_delay(EVENT_LOOP_TIMEOUT), + error(false), + runOnceResult(false) {} void -- 2.47.2