diff --git a/src/device.hpp b/src/device.hpp index ded9130e3d..a9b14d7ce1 100644 --- a/src/device.hpp +++ b/src/device.hpp @@ -41,7 +41,7 @@ class Device { virtual void program(unsigned int offset, bool unprotect_flash) = 0; - virtual bool read_register(const std::string reg_name) { return false;} + virtual bool read_register(const std::string /*reg_name*/) { return false;} /**********************/ /* flash access */