os: Drop ununsed Main::_id_id variable in ping

The variable is not used anywhere in the code. This produces warning
when building with clang.

Issue #3938
This commit is contained in:
Piotr Tworek 2020-11-04 00:59:31 +01:00 committed by Christian Helmuth
parent 187b8ece27
commit 736b000c19

View File

@ -70,7 +70,6 @@ class Main : public Nic_handler,
Net::Nic _nic { _env, _heap, *this, _verbose };
Ipv4_address const _dst_ip { _config.attribute_value("dst_ip", Ipv4_address()) };
Mac_address _dst_mac { };
uint16_t _ip_id { 1 };
uint16_t _icmp_seq { 1 };
unsigned long _count { _config.attribute_value("count", (unsigned long)DEFAULT_COUNT) };
Constructible<Dhcp_client> _dhcp_client { };