Mercurial > hg > xemacs-beta
comparison src/win32.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | 804517e16990 |
children | ecf1ebac70d8 |
comparison
equal
deleted
inserted
replaced
2285:914c5afaac33 | 2286:04bc9d2f42c7 |
---|---|
464 | 464 |
465 return 0; | 465 return 0; |
466 } | 466 } |
467 | 467 |
468 int | 468 int |
469 mswindows_sigpause (int nsig) | 469 mswindows_sigpause (int UNUSED (nsig)) |
470 { | 470 { |
471 /* This is currently not called, because the only call to sigpause | 471 /* This is currently not called, because the only call to sigpause |
472 inside XEmacs is with SIGCHLD parameter. Just in case, we put an | 472 inside XEmacs is with SIGCHLD parameter. Just in case, we put an |
473 assert here, so anyone adds a call to sigpause will be surprised | 473 assert here, so anyone who adds a call to sigpause will be surprised |
474 (or surprise someone else...) */ | 474 (or surprise someone else...) */ |
475 assert (0); | 475 assert (0); |
476 return 0; | 476 return 0; |
477 } | 477 } |
478 | 478 |
539 /* Timer IDs as returned by MM */ | 539 /* Timer IDs as returned by MM */ |
540 MMRESULT tid_alarm = 0; | 540 MMRESULT tid_alarm = 0; |
541 MMRESULT tid_prof = 0; | 541 MMRESULT tid_prof = 0; |
542 | 542 |
543 static void CALLBACK | 543 static void CALLBACK |
544 setitimer_helper_proc (UINT uID, UINT uMsg, DWORD dwUser, | 544 setitimer_helper_proc (UINT UNUSED (uID), UINT UNUSED (uMsg), DWORD dwUser, |
545 DWORD dw1, DWORD dw2) | 545 DWORD UNUSED (dw1), DWORD UNUSED (dw2)) |
546 { | 546 { |
547 /* Just raise the signal indicated by the dwUser parameter */ | 547 /* Just raise the signal indicated by the dwUser parameter */ |
548 mswindows_raise (dwUser); | 548 mswindows_raise (dwUser); |
549 } | 549 } |
550 | 550 |