From 1b63173e46ad3be5a7c4e43cb70d1ec8f7f4fe3e Mon Sep 17 00:00:00 2001 From: Luc Date: Sun, 30 Jun 2019 16:16:32 +0200 Subject: [PATCH] Fix warning --- esp3d/webinterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esp3d/webinterface.cpp b/esp3d/webinterface.cpp index 1081a752..e6d6b7b8 100644 --- a/esp3d/webinterface.cpp +++ b/esp3d/webinterface.cpp @@ -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 * current = _head; - auth_ip * previous = NULL; + //auth_ip * previous = NULL; //get time //uint32_t now = millis(); while (current) { @@ -483,7 +483,7 @@ auth_ip * WEBINTERFACE_CLASS::GetAuth (IPAddress ip, const char * sessionID) return current; } } - previous = current; + //previous = current; current = current->_next; } return NULL;