[traffic] Comment out unused code

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-07-01 22:59:27 +03:00
parent 4324e329e5
commit 4f4d376a4a
2 changed files with 9 additions and 0 deletions

View File

@@ -56,7 +56,10 @@ auto constexpr kTrafficXMLFileName = "traffic.xml";
TrafficManager::CacheEntry::CacheEntry()
: m_isLoaded(false)
// TODO no longer needed
#ifdef traffic_dead_code
, m_dataSize(0)
#endif
, m_retriesCount(0)
, m_isWaitingForResponse(false)
, m_lastAvailability(traffic::TrafficInfo::Availability::Unknown)
@@ -64,7 +67,10 @@ TrafficManager::CacheEntry::CacheEntry()
TrafficManager::CacheEntry::CacheEntry(time_point<steady_clock> const & requestTime)
: m_isLoaded(false)
// TODO no longer needed
#ifdef traffic_dead_code
, m_dataSize(0)
#endif
, m_lastActiveTime(requestTime)
, m_lastRequestTime(requestTime)
, m_retriesCount(0)