wmsun: Fix "unused parameter" compiler warnings.

This commit is contained in:
Doug Torrance 2015-06-14 17:04:41 -05:00 committed by Carlos R. Mafra
parent 4d5bfe0d0a
commit 11e5cd86da
2 changed files with 2 additions and 0 deletions

View file

@ -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 );

View file

@ -365,6 +365,7 @@ void ParseCMDLine(int argc, char *argv[]) {
*/
void pressEvent(XButtonEvent *xev){
(void) xev;
++ToggleWindow;
if (ToggleWindow > 4) ToggleWindow = 0;
Flag = 1;