From 61620db053088fac637799b27f04efa44d0bcc6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be> Date: Fri, 7 May 2010 20:35:55 +0200 Subject: Fixed Boost Asio warning. diff --git a/3rdParty/Boost/2_fix_asio_warning.diff b/3rdParty/Boost/2_fix_asio_warning.diff new file mode 100644 index 0000000..1fc83b3 --- /dev/null +++ b/3rdParty/Boost/2_fix_asio_warning.diff @@ -0,0 +1,13 @@ +diff --git a/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp b/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp +index c1a6705..f33c985 100644 +--- a/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp ++++ b/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp +@@ -206,7 +206,7 @@ public: + // Cancel all operations associated with the given descriptor. The + // handlers associated with the descriptor will be invoked with the + // operation_aborted error. +- void cancel_ops(socket_type descriptor, per_descriptor_data& descriptor_data) ++ void cancel_ops(socket_type /*descriptor*/, per_descriptor_data& descriptor_data) + { + mutex::scoped_lock descriptor_lock(descriptor_data->mutex_); + diff --git a/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp b/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp index c1a6705..f33c985 100644 --- a/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp +++ b/3rdParty/Boost/src/boost/asio/detail/kqueue_reactor.hpp @@ -206,7 +206,7 @@ public: // Cancel all operations associated with the given descriptor. The // handlers associated with the descriptor will be invoked with the // operation_aborted error. - void cancel_ops(socket_type descriptor, per_descriptor_data& descriptor_data) + void cancel_ops(socket_type /*descriptor*/, per_descriptor_data& descriptor_data) { mutex::scoped_lock descriptor_lock(descriptor_data->mutex_); -- cgit v0.10.2-6-g49f6