mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
AK: Remove unused network ordered 'address' variable
This commit is contained in:
parent
e74e8381d5
commit
0ebcc99e12
1 changed files with 0 additions and 1 deletions
|
@ -140,7 +140,6 @@ public:
|
||||||
private:
|
private:
|
||||||
constexpr u32 octet(const SubnetClass subnet) const
|
constexpr u32 octet(const SubnetClass subnet) const
|
||||||
{
|
{
|
||||||
NetworkOrdered<u32> address(m_data);
|
|
||||||
constexpr auto bits_per_byte = 8;
|
constexpr auto bits_per_byte = 8;
|
||||||
auto const bits_to_shift = bits_per_byte * int(subnet);
|
auto const bits_to_shift = bits_per_byte * int(subnet);
|
||||||
return (m_data >> bits_to_shift) & 0x0000'00FF;
|
return (m_data >> bits_to_shift) & 0x0000'00FF;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue