From 19bcd43f256258b90c1788e899ea5fe0dc044b4b Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 6 Apr 2008 20:09:06 +0000 Subject: Initialise this (valgrind warning) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9384 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socketengines/socketengine_epoll.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/socketengines/socketengine_epoll.cpp') diff --git a/src/socketengines/socketengine_epoll.cpp b/src/socketengines/socketengine_epoll.cpp index a749208d1..6028ce2e1 100644 --- a/src/socketengines/socketengine_epoll.cpp +++ b/src/socketengines/socketengine_epoll.cpp @@ -19,6 +19,7 @@ EPollEngine::EPollEngine(InspIRCd* Instance) : SocketEngine(Instance) { + MAX_DESCRIPTORS = 0; EngineHandle = epoll_create(GetMaxFds()); if (EngineHandle == -1) -- cgit v1.2.3