From 11e5cd86daea2e34be7816f421a6e5dc6143553c Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Sun, 14 Jun 2015 17:04:41 -0500 Subject: [PATCH] wmsun: Fix "unused parameter" compiler warnings. --- 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;