From a91cd60cb5903cd5f9c9e8d3b248b85197a3707b Mon Sep 17 00:00:00 2001 From: Danny Al-Gaaf Date: Wed, 7 Jan 2015 16:20:52 +0100 Subject: [PATCH] msg/async/EventKqueue.h: init 'size' in constructor Signed-off-by: Danny Al-Gaaf --- src/msg/async/EventKqueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msg/async/EventKqueue.h b/src/msg/async/EventKqueue.h index aa5fc2865b4..04169adea55 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); -- 2.47.3