From 37a0f9c03eb4bb0646cda3b1e5387f0cba8c02ce Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Mon, 20 May 2024 16:16:42 +0200 Subject: [PATCH] device: fixed warning in read_registers --- src/device.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */