From 8d58ffb022649fd8a28d2f74845fc8ca5c934029 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sat, 29 Jul 2017 01:48:01 +0200 Subject: Remove attribute(__unused__) usage Just omitting the parameter name is more portable and less to write --- src/mitm_stub.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/mitm_stub.cc') diff --git a/src/mitm_stub.cc b/src/mitm_stub.cc index 6f4dcb0..1d206f1 100644 --- a/src/mitm_stub.cc +++ b/src/mitm_stub.cc @@ -5,7 +5,6 @@ #include "mitm.hh" // static -Mitm* Mitm::create(Logger* UNUSED(logger), Config* UNUSED(config), - std::string const& UNUSED(cwd)) { +Mitm* Mitm::create(Logger*, Config*, std::string const&) { return nullptr; } -- cgit v1.2.3-70-g09d2