diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-03-18 22:00:05 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-03-18 22:00:05 +0100 |
commit | 2af7a570fb52a2e8aff02f3a2f39b38dd096d373 (patch) | |
tree | 6d5515cf9ba8722cccea34e721a77c80819c49b9 /src/parser.cpp | |
parent | bbb22595b1d85290544ed737e6a0b31ddcdf122b (diff) | |
download | sciteco-2af7a570fb52a2e8aff02f3a2f39b38dd096d373.tar.gz |
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
Diffstat (limited to 'src/parser.cpp')
-rw-r--r-- | src/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |