wmsun: Fix "unused parameter" compiler warnings.
This commit is contained in:
parent
4d5bfe0d0a
commit
11e5cd86da
|
@ -42,6 +42,7 @@ void SunRise(int year, int month, int day, double LocalHour, double *UTRise, dou
|
||||||
double xe, ye, z1, z2, SinH(), hour24();
|
double xe, ye, z1, z2, SinH(), hour24();
|
||||||
int Rise, Set, nz;
|
int Rise, Set, nz;
|
||||||
|
|
||||||
|
(void) LocalHour;
|
||||||
SinH0 = sin( -50.0/60.0 * RadPerDeg );
|
SinH0 = sin( -50.0/60.0 * RadPerDeg );
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -365,6 +365,7 @@ void ParseCMDLine(int argc, char *argv[]) {
|
||||||
*/
|
*/
|
||||||
void pressEvent(XButtonEvent *xev){
|
void pressEvent(XButtonEvent *xev){
|
||||||
|
|
||||||
|
(void) xev;
|
||||||
++ToggleWindow;
|
++ToggleWindow;
|
||||||
if (ToggleWindow > 4) ToggleWindow = 0;
|
if (ToggleWindow > 4) ToggleWindow = 0;
|
||||||
Flag = 1;
|
Flag = 1;
|
||||||
|
|
Loading…
Reference in a new issue