Merge pull request #2750 from cuberite/wrng
Fixed warning regarding an uninitialized value
This commit is contained in:
commit
2a218b06c2
@ -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…
x
Reference in New Issue
Block a user