[Pkg-wmaker-commits] [wmsun] 26/73: wmsun: Fix "unused parameter" compiler warnings.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 12:04:45 UTC 2015


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

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

commit 887e3cc0bfe444241bc05ebc88744bb583397ae0
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Jun 14 17:04:41 2015 -0500

    wmsun: Fix "unused parameter" compiler warnings.
---
 SunRise.c | 1 +
 wmSun.c   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/SunRise.c b/SunRise.c
index 1e16320..e66226a 100644
--- a/SunRise.c
+++ b/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.c b/wmSun.c
index 6de1a0d..4e7094a 100644
--- a/wmSun.c
+++ b/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;

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



More information about the Pkg-wmaker-commits mailing list