From d44ed632ae792c2f239c7bcd70bd70c823cbd164 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 20 Jul 2012 10:42:00 -0400 Subject: [PATCH] minor cleanup (unused param) --- termite.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/termite.cc b/termite.cc index 40a4b67..9551fe5 100644 --- a/termite.cc +++ b/termite.cc @@ -8,10 +8,6 @@ #include #include -#ifndef __GNUC__ -# define __attribute__(x) -#endif - #define CSI "\x1b[" // http://blog.dieweltistgarnichtso.net/constructing-a-regular-expression-that-matches-uris @@ -70,7 +66,7 @@ static gboolean button_press_cb(VteTerminal *vte, GdkEventButton *event, gboolea static void beep_cb(GtkWidget *vte, gboolean *urgent_on_bell); static gboolean focus_cb(GtkWindow *window); -static gboolean add_to_list_store(char *key, void *value, GtkListStore *store); +static gboolean add_to_list_store(char *key, void *, GtkListStore *store); static GtkTreeModel *create_completion_model(VteTerminal *vte); static void search(VteTerminal *vte, const char *pattern, bool reverse); static void overlay_show(search_panel_info *info, overlay_mode mode, bool complete); @@ -386,9 +382,7 @@ gboolean focus_cb(GtkWindow *window) { } /* }}} */ -gboolean add_to_list_store(char *key, - __attribute__((unused)) void *value, - GtkListStore *store) { +gboolean add_to_list_store(char *key, void *, GtkListStore *store) { GtkTreeIter iter; gtk_list_store_append(store, &iter); gtk_list_store_set(store, &iter, 0, key, -1);