summaryrefslogtreecommitdiff
path: root/src/gui_htmlattrtext.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/gui_htmlattrtext.cc
parentc974e4b5df40aec646a60c747f453d11a8e7587c (diff)
Remove attribute(__unused__) usage
Just omitting the parameter name is more portable and less to write
Diffstat (limited to 'src/gui_htmlattrtext.cc')
-rw-r--r--src/gui_htmlattrtext.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_htmlattrtext.cc b/src/gui_htmlattrtext.cc
index 453d550..9a6fac7 100644
--- a/src/gui_htmlattrtext.cc
+++ b/src/gui_htmlattrtext.cc
@@ -228,7 +228,7 @@ private:
out->append("\">");
}
- static void end_tag(std::string* out, Attribute const& UNUSED(attr)) {
+ static void end_tag(std::string* out, Attribute const&) {
out->append("</span>");
}