diff --git a/src/extframe.h b/src/extframe.h index 8f48afdb..43f45739 100644 --- a/src/extframe.h +++ b/src/extframe.h @@ -150,6 +150,9 @@ class ExtFrame : public Frame */ virtual bool process(ConnectionImpl *connection) override { + // make sure compilers dont complain about unused parameters + (void) connection; + // this is an exception throw ProtocolException("unimplemented frame type " + std::to_string(type())); diff --git a/src/methodframe.h b/src/methodframe.h index 67055e34..d1b8de36 100644 --- a/src/methodframe.h +++ b/src/methodframe.h @@ -95,6 +95,9 @@ class MethodFrame : public ExtFrame */ virtual bool process(ConnectionImpl *connection) override { + // make sure compilers dont complain about unused parameters + (void) connection; + // this is an exception throw ProtocolException("unimplemented frame type " + std::to_string(type()) + " class " + std::to_string(classID()) + " method " + std::to_string(methodID())); }