mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 21:49:02 +08:00
Fix warning
This commit is contained in:
parent
e671169f2d
commit
1b63173e46
@ -473,7 +473,7 @@ bool WEBINTERFACE_CLASS::ClearAuthIP (IPAddress ip, const char * sessionID)
|
|||||||
auth_ip * WEBINTERFACE_CLASS::GetAuth (IPAddress ip, const char * sessionID)
|
auth_ip * WEBINTERFACE_CLASS::GetAuth (IPAddress ip, const char * sessionID)
|
||||||
{
|
{
|
||||||
auth_ip * current = _head;
|
auth_ip * current = _head;
|
||||||
auth_ip * previous = NULL;
|
//auth_ip * previous = NULL;
|
||||||
//get time
|
//get time
|
||||||
//uint32_t now = millis();
|
//uint32_t now = millis();
|
||||||
while (current) {
|
while (current) {
|
||||||
@ -483,7 +483,7 @@ auth_ip * WEBINTERFACE_CLASS::GetAuth (IPAddress ip, const char * sessionID)
|
|||||||
return current;
|
return current;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
previous = current;
|
//previous = current;
|
||||||
current = current->_next;
|
current = current->_next;
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user