summaryrefslogtreecommitdiff
path: root/src/main.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/main.cc
parentc974e4b5df40aec646a60c747f453d11a8e7587c (diff)
Remove attribute(__unused__) usage
Just omitting the parameter name is more portable and less to write
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cc b/src/main.cc
index f4f6a84..d03dd45 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -19,11 +19,11 @@ namespace {
Proxy* g_proxy;
-void proxy_quit(int UNUSED(sig)) {
+void proxy_quit(int) {
g_proxy->quit();
}
-void proxy_reload(int UNUSED(sig)) {
+void proxy_reload(int) {
g_proxy->reload();
}