1
0

Fixed warning regarding an uninitialized value

This commit is contained in:
Julian Laubstein 2015-12-15 17:20:34 +01:00
parent 5ca4c5272e
commit 5af10b8cd3

View File

@ -261,7 +261,7 @@ static int tolua_cNetwork_Listen(lua_State * L)
}
// Read the params:
int Port;
int Port = 0;
S.GetStackValues(2, Port);
if ((Port < 0) || (Port > 65535))
{