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;