Some warning fixes

This commit is contained in:
Julian Laubstein
2015-08-18 08:49:00 +02:00
committed by Mattes D
parent d0f1eb1018
commit dd5201c29e
9 changed files with 70 additions and 39 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ static int tolua_cNetwork_Connect(lua_State * L)
// Read the params:
AString Host;
int Port;
int Port = 0;
S.GetStackValues(2, Host, Port);
// Check validity:
@@ -888,7 +888,7 @@ static int tolua_cUDPEndpoint_Send(lua_State * L)
// Get the data to send:
AString Data, RemotePeer;
int RemotePort;
int RemotePort = 0;
S.GetStackValues(2, Data, RemotePeer, RemotePort);
// Check the port: