summaryrefslogtreecommitdiff
path: root/src/mitm_stub.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@yahoo.com>2017-07-29 01:48:01 +0200
committerJoel Klinghed <the_jk@yahoo.com>2017-07-29 01:48:01 +0200
commit8d58ffb022649fd8a28d2f74845fc8ca5c934029 (patch)
tree3ce6d5037e95192401a9490c9d13253101017764 /src/mitm_stub.cc
parentc974e4b5df40aec646a60c747f453d11a8e7587c (diff)
Remove attribute(__unused__) usage
Just omitting the parameter name is more portable and less to write
Diffstat (limited to 'src/mitm_stub.cc')
-rw-r--r--src/mitm_stub.cc3
1 files changed, 1 insertions, 2 deletions
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;
}