Fix the error spotted by meson
- This commit would fix the error that are spotted by meson
when werror=true is enforced.
Tested By:
- Compiled in all the sdks, and unit tests are passed.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: Ie4c2f26af2b62b019e908cceea18cf22cf2e4607
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp
index 677cdd8..d7e0baa 100644
--- a/ethernet_interface.cpp
+++ b/ethernet_interface.cpp
@@ -564,7 +564,7 @@
return value;
}
-ServerList EthernetInterface::nameservers(ServerList value)
+ServerList EthernetInterface::nameservers(ServerList /*value*/)
{
elog<NotAllowed>(NotAllowedArgument::REASON("ReadOnly Property"));
return EthernetInterfaceIntf::nameservers();