Fix compiler warnings
authorHugo Villeneuve <hugo@hugovil.com>
Mon, 24 Nov 2014 13:32:20 +0000 (08:32 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Sun, 24 Apr 2016 22:31:09 +0000 (18:31 -0400)
src/clock.c
src/dockapp.c

index 1701fff..cdce025 100644 (file)
@@ -417,6 +417,8 @@ hvclock_redraw_canvas(GtkWidget *widget)
 static gboolean
 hvclock_button_release(GtkWidget *clock, GdkEventButton *event)
 {
+       (void) event; /* Unused parameter. */
+
        if (hvclock_infos.debug)
                printf("%s: button released\n", PACKAGE_NAME);
 
index 95fa691..4dfe77b 100644 (file)
@@ -69,6 +69,8 @@ dockapp_gtk_withdrawn_hack(GtkWidget *dockwin, GtkWidget *iconwin)
        Window win_temp;
        Window win_orig;
 
+       (void) iconwin; /* Unused parameter. */
+
        d = GDK_DISPLAY_XDISPLAY(gdk_display_get_default());
        win_orig = GDK_WINDOW_XID(dockwin->window);