Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/win32.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/win32.c Mon Sep 20 19:20:08 2004 +0000 @@ -466,11 +466,11 @@ } int -mswindows_sigpause (int nsig) +mswindows_sigpause (int UNUSED (nsig)) { /* This is currently not called, because the only call to sigpause inside XEmacs is with SIGCHLD parameter. Just in case, we put an - assert here, so anyone adds a call to sigpause will be surprised + assert here, so anyone who adds a call to sigpause will be surprised (or surprise someone else...) */ assert (0); return 0; @@ -541,8 +541,8 @@ MMRESULT tid_prof = 0; static void CALLBACK -setitimer_helper_proc (UINT uID, UINT uMsg, DWORD dwUser, - DWORD dw1, DWORD dw2) +setitimer_helper_proc (UINT UNUSED (uID), UINT UNUSED (uMsg), DWORD dwUser, + DWORD UNUSED (dw1), DWORD UNUSED (dw2)) { /* Just raise the signal indicated by the dwUser parameter */ mswindows_raise (dwUser);