[PATCH 3/6] wmshutdown: Fix 'unused parameter' compiler warnings.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmshutdown/wmshutdown.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/wmshutdown/wmshutdown.c b/wmshutdown/wmshutdown.c
index 8602d9c..0ae15e2 100644
--- a/wmshutdown/wmshutdown.c
+++ b/wmshutdown/wmshutdown.c
@@ -59,6 +59,7 @@ GtkWidget *cria_dock(GtkWidget *mw, unsigned int s)
 	GdkDisplay *display;
 	GtkWidget *foobox;
 
+	(void) s;
 	display = gdk_display_get_default();
 	foobox = gtk_window_new(GTK_WINDOW_POPUP);
 
@@ -149,6 +150,8 @@ void button_press(GtkWidget *widget, GdkEvent *event)
 	GtkWidget *reboot_button;
 	GtkWidget *cancel_button;
 
+	(void) widget;
+
 	GdkEventButton  *bevent = (GdkEventButton *)event;
 	switch (bevent->button) {
 	case 1:
-- 
2.1.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.