mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-08 17:24:11 +00:00
fix: resolve all remaining compilation warnings
This commit is contained in:
@@ -344,7 +344,7 @@ void Socket::SocketInputStreamLocal::close()
|
||||
{
|
||||
m_streamOpen = false;
|
||||
EnterCriticalSection(&s_hostQueueLock[m_queueIdx]);
|
||||
s_hostQueue[m_queueIdx] = std::queue<unsigned char>();
|
||||
while(!s_hostQueue[m_queueIdx].empty()) s_hostQueue[m_queueIdx].pop();
|
||||
LeaveCriticalSection(&s_hostQueueLock[m_queueIdx]);
|
||||
}
|
||||
|
||||
@@ -392,7 +392,7 @@ void Socket::SocketOutputStreamLocal::close()
|
||||
{
|
||||
m_streamOpen = false;
|
||||
EnterCriticalSection(&s_hostQueueLock[m_queueIdx]);
|
||||
s_hostQueue[m_queueIdx] = std::queue<unsigned char>();
|
||||
while(!s_hostQueue[m_queueIdx].empty()) s_hostQueue[m_queueIdx].pop();
|
||||
LeaveCriticalSection(&s_hostQueueLock[m_queueIdx]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user