mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-25 14:30:14 +00:00
Silence -Wall warnings.
This commit is contained in:
parent
651ccba932
commit
51a8cc8bdf
@ -27,7 +27,6 @@ void CNLoginServer::handlePacket(CNSocket* sock, CNPacketData* data) {
|
|||||||
|
|
||||||
sP_CL2LS_REQ_LOGIN* login = (sP_CL2LS_REQ_LOGIN*)data->buf;
|
sP_CL2LS_REQ_LOGIN* login = (sP_CL2LS_REQ_LOGIN*)data->buf;
|
||||||
INITSTRUCT(sP_LS2CL_REP_LOGIN_SUCC, resp);
|
INITSTRUCT(sP_LS2CL_REP_LOGIN_SUCC, resp);
|
||||||
uint64_t cachedKey = sock->getEKey(); // so we can still send the resp packet with the correct key
|
|
||||||
int charCount = 2; // send 4 randomly generated characters for now
|
int charCount = 2; // send 4 randomly generated characters for now
|
||||||
|
|
||||||
DEBUGLOG(
|
DEBUGLOG(
|
||||||
|
@ -63,7 +63,7 @@ int CNSocketEncryption::decryptData(uint8_t* buffer, uint8_t* key, int size) {
|
|||||||
|
|
||||||
// ========================================================[[ CNPacketData ]]========================================================
|
// ========================================================[[ CNPacketData ]]========================================================
|
||||||
|
|
||||||
CNPacketData::CNPacketData(void* b, uint32_t t, int l): buf(b), type(t), size(l) {}
|
CNPacketData::CNPacketData(void* b, uint32_t t, int l): buf(b), size(l), type(t) {}
|
||||||
|
|
||||||
// ========================================================[[ CNSocket ]]========================================================
|
// ========================================================[[ CNSocket ]]========================================================
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user