From 2af7a570fb52a2e8aff02f3a2f39b38dd096d373 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 18 Mar 2013 22:00:05 +0100 Subject: remove all unused-attributes for parameters * compiler does not warn by default: this actually makes sense * so we don't need any unused-attributes * less GCC-extension based * on older GCCs I think -Wunused-parameters was enabled by -Wall we should add -Wno-unused-parameters if that's the case --- src/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index c1cb42e..a5e7151 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -2013,7 +2013,7 @@ StateInsert::process(const gchar *str, gint new_chars) throw (Error) } State * -StateInsert::done(const gchar *str __attribute__((unused))) throw (Error) +StateInsert::done(const gchar *str) throw (Error) { /* nothing to be done when done */ return &States::start; -- cgit v1.2.3