changeset 279:af630354610f

Socket: silent warning if poll is not available
author David Demelier <markand@malikania.fr>
date Fri, 24 Oct 2014 10:28:17 +0200
parents adcae2bde2f0
children 91eb0583df52
files C++/SocketListener.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/C++/SocketListener.cpp	Thu Oct 23 18:15:38 2014 +0200
+++ b/C++/SocketListener.cpp	Fri Oct 24 10:28:17 2014 +0200
@@ -314,6 +314,7 @@
 #endif
 		m_interface = std::make_unique<SelectMethod>();
 
+	(void)method;
 }
 
 SocketListener::SocketListener(std::initializer_list<std::pair<Socket, int>> list, int method)