summaryrefslogtreecommitdiffstats
path: root/src/OSSupport/BlockingTCPLink.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-28 16:26:23 +0100
committermadmaxoft <github@xoft.cz>2014-02-28 16:26:23 +0100
commit182646188448f9fd8df0b4c0391a2db04575c49d (patch)
treeb823a35f67ab8d5b0f32bb4beea6710667332425 /src/OSSupport/BlockingTCPLink.cpp
parentDocumented the changes in cJukeboxEntity. (diff)
downloadcuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.gz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.bz2
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.lz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.xz
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.tar.zst
cuberite-182646188448f9fd8df0b4c0391a2db04575c49d.zip
Diffstat (limited to '')
-rw-r--r--src/OSSupport/BlockingTCPLink.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/OSSupport/BlockingTCPLink.cpp b/src/OSSupport/BlockingTCPLink.cpp
index af50eda5d..e9c00d6d4 100644
--- a/src/OSSupport/BlockingTCPLink.cpp
+++ b/src/OSSupport/BlockingTCPLink.cpp
@@ -89,6 +89,8 @@ bool cBlockingTCPLink::Connect(const char * iAddress, unsigned int iPort)
int cBlockingTCPLink::Send(char * a_Data, unsigned int a_Size, int a_Flags /* = 0 */ )
{
+ UNUSED(a_Flags);
+
ASSERT(m_Socket.IsValid());
if (!m_Socket.IsValid())
{
@@ -104,6 +106,8 @@ int cBlockingTCPLink::Send(char * a_Data, unsigned int a_Size, int a_Flags /* =
int cBlockingTCPLink::SendMessage( const char* a_Message, int a_Flags /* = 0 */ )
{
+ UNUSED(a_Flags);
+
ASSERT(m_Socket.IsValid());
if (!m_Socket.IsValid())
{