diff options
author | Lukas Pioch <lukas@zgow.de> | 2015-12-15 18:21:46 +0100 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2015-12-15 18:21:46 +0100 |
commit | 2a218b06c2c22f3932126720335025d2610fb463 (patch) | |
tree | 93a81a0d5dbeaaca4d75dc5c46d44e0f63638b97 /src/Bindings | |
parent | Merge pull request #2749 from cuberite/wrng (diff) | |
parent | Fixed warning regarding an uninitialized value (diff) | |
download | cuberite-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 |
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/ManualBindings_Network.cpp | 2 |
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)) { |