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/gui_htmlattrtext.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui_htmlattrtext.cc') 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(""); } -- cgit v1.2.3-70-g09d2