1
0

Merge pull request #2750 from cuberite/wrng

Fixed warning regarding an uninitialized value
This commit is contained in:
Lukas Pioch 2015-12-15 18:21:46 +01:00
commit 2a218b06c2

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