aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-03 09:20:45 +0100
committerPierre Ossman <ossman@cendio.se>2024-06-19 16:39:07 +0200
commit37cf0ffaba7f4e855a909f57adf72da43c0ac275 (patch)
tree70964829efbe0c1810c67f3b0529b6995a0ff61a /win
parentb9442affc0eb877603766452601d9db8fd4ef79a (diff)
downloadtigervnc-37cf0ffaba7f4e855a909f57adf72da43c0ac275.tar.gz
tigervnc-37cf0ffaba7f4e855a909f57adf72da43c0ac275.zip
Remove unneeded iteration
This should have been done in a4308c9.
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/SocketManager.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/win/rfb_win32/SocketManager.cxx b/win/rfb_win32/SocketManager.cxx
index b7cc1cce..027536fd 100644
--- a/win/rfb_win32/SocketManager.cxx
+++ b/win/rfb_win32/SocketManager.cxx
@@ -165,9 +165,7 @@ void SocketManager::setDisable(network::SocketServer* srvr, bool disable)
int SocketManager::checkTimeouts() {
int timeout = EventManager::checkTimeouts();
- std::map<HANDLE,ListenInfo>::iterator i;
- for (i=listeners.begin(); i!=listeners.end(); i++)
- soonestTimeout(&timeout, Timer::checkTimeouts());
+ soonestTimeout(&timeout, Timer::checkTimeouts());
std::list<network::Socket*> shutdownSocks;
std::map<HANDLE,ConnInfo>::iterator j, j_next;