From: Maxim Mamontov Date: Tue, 7 Dec 2010 15:21:23 +0000 (+0200) Subject: Из плагина авторизатора InetAccess убрана неиспользуемая локальная переменная X-Git-Tag: 2.407-rc3~335 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/3a0773b72ce785fd13021f4624f525a23cd65f18 Из плагина авторизатора InetAccess убрана неиспользуемая локальная переменная --- diff --git a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp index 0d2dbe21..0319ef8d 100644 --- a/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp +++ b/projects/stargazer/plugins/authorization/inetaccess/inetaccess.cpp @@ -764,7 +764,6 @@ int AUTH_IA::PacketProcessor(char * buff, int dataLen, uint32_t sip, uint16_t sp STG_LOCKER lock(&mutex, __FILE__, __LINE__); // ôÕÔ ÓÏÂÒÁÎÙ ÏÂÒÁÂÏÔÞÉËÉ ÒÁÚÎÙÈ ÐÁËÅÔÏ× int pn = -1; -int packetLen; const int offset = LOGIN_LEN + 2 + 6; // LOGIN_LEN + sizeOfMagic + sizeOfVer; IA_USER * iaUser = NULL; @@ -834,8 +833,6 @@ else pn = pi->second; } -packetLen = *(int*)buff; - if ((*user)->property.disabled.Get()) { SendError(sip, sport, protoVer, "õÞÅÔÎÁÑ ÚÁÐÉÓØ ÚÁÂÌÏËÉÒÏ×ÁÎÁ");