From: Amos Jeffries Date: Sun, 17 Feb 2013 02:09:16 +0000 (+1300) Subject: Initialize EventLoop members X-Git-Tag: SQUID_3_4_0_1~270 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e2f336f756fe1fdf24017538e7144eee8118f98;p=thirdparty%2Fsquid.git 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 --- 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