[PATCH 08/23] wmsun: Fix "unused parameter" compiler warnings.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 wmsun/SunRise.c | 1 +
 wmsun/wmSun.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/wmsun/SunRise.c b/wmsun/SunRise.c
index 1e16320..e66226a 100644
--- a/wmsun/SunRise.c
+++ b/wmsun/SunRise.c
@@ -42,6 +42,7 @@ void SunRise(int year, int month, int day, double LocalHour, double *UTRise, dou
     double	xe, ye, z1, z2, SinH(), hour24();
     int		Rise, Set, nz;
 
+    (void) LocalHour;
     SinH0 = sin( -50.0/60.0 * RadPerDeg );
 
 
diff --git a/wmsun/wmSun.c b/wmsun/wmSun.c
index 6de1a0d..4e7094a 100644
--- a/wmsun/wmSun.c
+++ b/wmsun/wmSun.c
@@ -365,6 +365,7 @@ void ParseCMDLine(int argc, char *argv[]) {
  */
 void pressEvent(XButtonEvent *xev){
 
+   (void) xev;
    ++ToggleWindow;
    if (ToggleWindow > 4) ToggleWindow = 0;
    Flag = 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.