- Initialize SocketError to 0 to prevent a bogus error from GCC
authorCameron Gutman <aicommander@gmail.com>
Wed, 25 Nov 2009 18:08:43 +0000 (18:08 +0000)
committerCameron Gutman <aicommander@gmail.com>
Wed, 25 Nov 2009 18:08:43 +0000 (18:08 +0000)
svn path=/trunk/; revision=44286

reactos/lib/drivers/ip/transport/tcp/tcp.c

index 8c05167..fe57112 100644 (file)
@@ -47,7 +47,7 @@ VOID HandleSignalledConnection(PCONNECTION_ENDPOINT Connection)
         NTSTATUS Status;
         PIRP Irp;
         PMDL Mdl;
         NTSTATUS Status;
         PIRP Irp;
         PMDL Mdl;
-        ULONG SocketError;
+        ULONG SocketError = 0;
 
         TI_DbgPrint(MID_TRACE,("Handling signalled state on %x (%x)\n",
                                Connection, Connection->SocketContext));
 
         TI_DbgPrint(MID_TRACE,("Handling signalled state on %x (%x)\n",
                                Connection, Connection->SocketContext));