Removed write-only Host::m_inSync

This commit is contained in:
Ivan Skytte Jørgensen
2016-11-17 18:10:01 +01:00
parent b442fd3e1f
commit f2e30cdbf2
2 changed files with 0 additions and 6 deletions

@ -202,9 +202,6 @@ public:
// is from when making the UdpSlot key.
class Hostdb *m_hostdb;
// Syncdb.cpp uses these
bool m_inSync ;
// . used by Parms.cpp for broadcasting parm change requests
// . each parm change request has an id
// . this let's us know which id is in progress and what the last

@ -1334,9 +1334,6 @@ void updatePingTime ( Host *h , int32_t *pingPtr , int32_t tripTime ) {
// is it dead now?
bool isDead = g_hostdb.isDead ( h );
// force it out of sync
if ( isDead ) h->m_inSync = false;
if( ! h->m_isProxy ) {
// maintain m_numHostsAlive if there was a change in state
if ( wasDead && ! isDead ) g_hostdb.m_numHostsAlive++;