summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/sdltcpnet.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index 4e01fe15a..857e85140 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -54,6 +54,14 @@ PRAGMACLANG6GCC(GCC diagnostic pop)
// because actual struct is hidden in SDL_net we reinroducing it here
struct TCPsocketHack final
{
+ TCPsocketHack() :
+ ready(0),
+ channel(0),
+ remoteAddress(),
+ localAddress(),
+ sflag()
+ { }
+
A_DELETE_COPY(TCPsocketHack)
int ready;