summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2015-12-15 18:21:46 +0100
committerLukas Pioch <lukas@zgow.de>2015-12-15 18:21:46 +0100
commit2a218b06c2c22f3932126720335025d2610fb463 (patch)
tree93a81a0d5dbeaaca4d75dc5c46d44e0f63638b97
parentMerge pull request #2749 from cuberite/wrng (diff)
parentFixed warning regarding an uninitialized value (diff)
downloadcuberite-2a218b06c2c22f3932126720335025d2610fb463.tar
cuberite-2a218b06c2c22f3932126720335025d2610fb463.tar.gz
cuberite-2a218b06c2c22f3932126720335025d2610fb463.tar.bz2
cuberite-2a218b06c2c22f3932126720335025d2610fb463.tar.lz
cuberite-2a218b06c2c22f3932126720335025d2610fb463.tar.xz
cuberite-2a218b06c2c22f3932126720335025d2610fb463.tar.zst
cuberite-2a218b06c2c22f3932126720335025d2610fb463.zip
-rw-r--r--src/Bindings/ManualBindings_Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings_Network.cpp b/src/Bindings/ManualBindings_Network.cpp
index 1eec4ce53..1631cdfec 100644
--- a/src/Bindings/ManualBindings_Network.cpp
+++ b/src/Bindings/ManualBindings_Network.cpp
@@ -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))
{