From: Danny Al-Gaaf Date: Wed, 7 Jan 2015 15:20:52 +0000 (+0100) Subject: msg/async/EventKqueue.h: init 'size' in constructor X-Git-Tag: suse_latest~36^2~9^2~24 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a91cd60cb5903cd5f9c9e8d3b248b85197a3707b;p=ceph.git msg/async/EventKqueue.h: init 'size' in constructor Signed-off-by: Danny Al-Gaaf --- diff --git a/src/msg/async/EventKqueue.h b/src/msg/async/EventKqueue.h index aa5fc2865b4d..04169adea559 100644 --- a/src/msg/async/EventKqueue.h +++ b/src/msg/async/EventKqueue.h @@ -29,7 +29,7 @@ class KqueueDriver : public EventDriver { int size; public: - KqueueDriver(CephContext *c): kqfd(-1), events(NULL), cct(c) {} + KqueueDriver(CephContext *c): kqfd(-1), events(NULL), cct(c), size(0) {} virtual ~KqueueDriver() { if (kqfd != -1) close(kqfd);