summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings_Network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Bindings/ManualBindings_Network.cpp')
-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))
{