src/lib/server/Server.cpp: PVS-Studio: Initial and final values of the iterator are the same.

This commit is contained in:
Svyatoslav 2017-04-20 12:08:31 +03:00 committed by Andrew Nelless
parent a73b65431b
commit 30baa8fbe1

View File

@ -251,7 +251,7 @@ Server::~Server()
// force immediate disconnection of secondary clients
disconnect();
for (OldClients::iterator index = m_oldClients.begin();
index != m_oldClients.begin(); ++index) {
index != m_oldClients.end(); ++index) {
BaseClientProxy* client = index->first;
m_events->deleteTimer(index->second);
m_events->removeHandler(Event::kTimer, client);