1
0
Fork 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
1 changed files with 1 additions and 1 deletions

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))
{