diff --git a/unix.c b/unix.c index a636f03..acb05c3 100644 --- a/unix.c +++ b/unix.c @@ -475,7 +475,7 @@ enet_socket_receive (ENetSocket socket, { struct msghdr msgHdr; struct sockaddr_in sin; - int recvLength; + int recvLength = 0; memset (& msgHdr, 0, sizeof (struct msghdr));