Proper handling for unused parameter
Instead of ignoring the parameter warning via a compile flag we can
explicitly not give the parameter a valiable name. The compile will then
know that that the parameter is not expected to be used.
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: I140f07eaad737f44c4791f37249f89849da15cae
diff --git a/src/register/hei_operator_register.hpp b/src/register/hei_operator_register.hpp
index 5c225b1..5e40358 100644
--- a/src/register/hei_operator_register.hpp
+++ b/src/register/hei_operator_register.hpp
@@ -381,7 +381,7 @@
ConstantRegister& operator=(const ConstantRegister& r) = delete;
/** @brief Overloaded from parent class. */
- const BitString* getBitString(const Chip& i_chip) const override
+ const BitString* getBitString(const Chip&) const override
{
return &iv_result;
}