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/main.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/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 86c6da5..ca3a37d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -129,7 +129,7 @@ get_teco_ini(const gchar *program) #else static inline gchar * -get_teco_ini(const gchar *program __attribute__((unused))) +get_teco_ini(const gchar *program) { const gchar *home; @@ -295,7 +295,7 @@ main(int argc, char **argv) */ static void -sigint_handler(int signal __attribute__((unused))) +sigint_handler(int signal) { sigint_occurred = TRUE; } |