aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-ncurses.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-18 22:00:05 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-03-18 22:00:05 +0100
commit2af7a570fb52a2e8aff02f3a2f39b38dd096d373 (patch)
tree6d5515cf9ba8722cccea34e721a77c80819c49b9 /src/interface-ncurses.cpp
parentbbb22595b1d85290544ed737e6a0b31ddcdf122b (diff)
downloadsciteco-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/interface-ncurses.cpp')
-rw-r--r--src/interface-ncurses.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interface-ncurses.cpp b/src/interface-ncurses.cpp
index bbde5de..eca9268 100644
--- a/src/interface-ncurses.cpp
+++ b/src/interface-ncurses.cpp
@@ -51,8 +51,7 @@ static void scintilla_notify(Scintilla *sci, int idFrom,
COLOR_PAIR(SCI_COLOR_PAIR(f, b))
void
-InterfaceNCurses::main(int &argc __attribute__((unused)),
- char **&argv __attribute__((unused)))
+InterfaceNCurses::main(int &argc, char **&argv)
{
init_screen();
cbreak();
@@ -247,7 +246,7 @@ InterfaceNCurses::cmdline_update(const gchar *cmdline)
}
void
-InterfaceNCurses::popup_add(PopupEntryType type __attribute__((unused)),
+InterfaceNCurses::popup_add(PopupEntryType type,
const gchar *name, bool highlight)
{
gchar *entry;