Remove warnings
authorRoy Marples <roy@marples.name>
Sun, 25 Jan 2009 11:17:06 +0000 (11:17 +0000)
committerRoy Marples <roy@marples.name>
Sun, 25 Jan 2009 11:17:06 +0000 (11:17 +0000)
menu.c

diff --git a/menu.c b/menu.c
index 81ef3213bf5894f0e3f9318202cd8542896cda8f..90471c143fe8c196c05be1c8d2d3abe250e1edad 100644 (file)
--- a/menu.c
+++ b/menu.c
@@ -129,10 +129,9 @@ add_scan_results(GtkMenu *menu, const struct if_msg *ifm)
 }
 
 static void
-on_activate(GtkStatusIcon *icon, _unused guint button, guint32 atime, gpointer data)
+on_activate(GtkStatusIcon *icon, _unused guint button, _unused guint32 atime, _unused gpointer data)
 {
-       GtkMenu *menu, *sub;
-       GtkWidget *item, *image;
+       GtkMenu *menu;
        const struct if_msg *ifm;
        GList *gl;
        size_t n;