From 0f898c7e1e23fa9f0f0237ffbd4b2d200a4d8d6e Mon Sep 17 00:00:00 2001 From: Dan Bechard Date: Mon, 30 Sep 2024 23:28:52 -0400 Subject: [PATCH] You can't return a value from a void function Signed-off-by: Dan Bechard --- source/yojimbo_connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/yojimbo_connection.cpp b/source/yojimbo_connection.cpp index bcd4e117..ec8f89dd 100644 --- a/source/yojimbo_connection.cpp +++ b/source/yojimbo_connection.cpp @@ -185,7 +185,7 @@ namespace yojimbo { yojimbo_assert( channelIndex >= 0 ); yojimbo_assert( channelIndex < m_connectionConfig.numChannels ); - return m_channel[channelIndex]->SendMessage( message, context ); + m_channel[channelIndex]->SendMessage( message, context ); } Message * Connection::ReceiveMessage( int channelIndex )