aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
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));