[Pkg-wmaker-commits] [wmcoincoin] 53/87: Fix -Wunused-parameter compiler warnings.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 17:27:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmcoincoin.

commit 8c04174e6fbec8ce488c0458acdb2640195a53b0
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Tue Nov 11 12:13:53 2014 -0600

    Fix -Wunused-parameter compiler warnings.
---
 src/wmccc_callbacks.c | 6 ++++--
 src/wmccc_support.c   | 2 ++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/wmccc_callbacks.c b/src/wmccc_callbacks.c
index d13026d..78994f3 100644
--- a/src/wmccc_callbacks.c
+++ b/src/wmccc_callbacks.c
@@ -13,7 +13,8 @@ void
 on_bottom1_activate                    (GtkMenuItem     *menuitem,
                                         gpointer         user_data)
 {
-
+  (void) menuitem;
+  (void) user_data;
 }
 
 
@@ -21,6 +22,7 @@ void
 on_left1_activate                      (GtkMenuItem     *menuitem,
                                         gpointer         user_data)
 {
-
+  (void) menuitem;
+  (void) user_data;
 }
 
diff --git a/src/wmccc_support.c b/src/wmccc_support.c
index 16c56a1..2ed43c0 100644
--- a/src/wmccc_support.c
+++ b/src/wmccc_support.c
@@ -80,6 +80,8 @@ create_pixmap                          (GtkWidget       *widget,
   gchar *pathname = NULL;
   GtkWidget *pixmap;
 
+  (void) widget;
+
   if (!filename || !filename[0])
       return gtk_image_new ();
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcoincoin.git



More information about the Pkg-wmaker-commits mailing list