]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
EventEpoll.h: init 'size' in ctor
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Mon, 8 Jun 2015 07:54:10 +0000 (09:54 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Fri, 17 Jul 2015 08:50:07 +0000 (10:50 +0200)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/msg/async/EventEpoll.h

index 07255d45288abb0398e184da9f6bca75950fc60e..7f01488feaf2fcc55da773c399429ae9f9097360 100644 (file)
@@ -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);