Fixed warning regarding an uninitialized value
This commit is contained in:
parent
5ca4c5272e
commit
5af10b8cd3
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user