From: Danny Al-Gaaf Date: Mon, 8 Jun 2015 07:54:10 +0000 (+0200) Subject: EventEpoll.h: init 'size' in ctor X-Git-Tag: v9.1.0~446^2~36 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=60d28f63ab23a84cebc1183f9ddfeecc4120adf4;p=ceph.git EventEpoll.h: init 'size' in ctor Signed-off-by: Danny Al-Gaaf --- diff --git a/src/msg/async/EventEpoll.h b/src/msg/async/EventEpoll.h index 07255d45288..7f01488feaf 100644 --- a/src/msg/async/EventEpoll.h +++ b/src/msg/async/EventEpoll.h @@ -29,7 +29,7 @@ class EpollDriver : public EventDriver { int size; public: - EpollDriver(CephContext *c): epfd(-1), events(NULL), cct(c) {} + EpollDriver(CephContext *c): epfd(-1), events(NULL), cct(c), size(0) {} virtual ~EpollDriver() { if (epfd != -1) close(epfd);