From f40de21e5666be6fa456fedc60584bd672d12c44 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 22 Jan 2013 08:29:55 -0800 Subject: Removing some more cruft. --- includes/Socket.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'includes/Socket.h') diff --git a/includes/Socket.h b/includes/Socket.h index 7972cb5..00dc2b4 100644 --- a/includes/Socket.h +++ b/includes/Socket.h @@ -19,7 +19,6 @@ struct DNSRequest; class Socket : public Handle { public: - Socket() throw (GeneralException); virtual void close() throw (GeneralException); virtual ssize_t read(void * buf, size_t count) throw (GeneralException); @@ -49,7 +48,7 @@ class Socket : public Handle { virtual void gotOwner(Task * task); ev::io m_evt; - Task * m_task; + Task * m_task = NULL; }; int m_fd; @@ -77,8 +76,8 @@ class ListenerBase : public StacklessTask { Events::Async m_evt; volatile bool m_stop; String m_local; - int m_port; - void * m_opaque; + int m_port = 0; + void * m_opaque = NULL; }; template -- cgit v1.2.3