diff --git a/include/nul/motherboard.h b/include/nul/motherboard.h index 813db070..b5b5f7e4 100644 --- a/include/nul/motherboard.h +++ b/include/nul/motherboard.h @@ -45,7 +45,7 @@ class Motherboard : public StaticReceiver /** * To avoid bugs we disallow the copy constructor. */ - Motherboard(const Motherboard &bus) { Logging::panic("%s copy constructor called", __func__); } + Motherboard(const Motherboard &) { Logging::panic("%s copy constructor called", __func__); } public: DBus bus_acpi;