Skip to content

Commit

Permalink
You can't return a value from a void function
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Bechard <[email protected]>
  • Loading branch information
dbechrd authored Oct 1, 2024
1 parent c4b3ed5 commit 0f898c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/yojimbo_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 0f898c7

Please sign in to comment.