Mercurial > hg > xemacs-beta
diff src/esd.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 | 465bd3c7d932 |
children | ecf1ebac70d8 |
line wrap: on
line diff
--- a/src/esd.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/esd.c Mon Sep 20 19:20:08 2004 +0000 @@ -37,14 +37,14 @@ int esd_play_sound_file (Extbyte *file, int vol); int -esd_play_sound_file (Extbyte *file, int vol) +esd_play_sound_file (Extbyte *file, int UNUSED (vol)) { /* #### FIXME: vol is ignored */ return esd_play_file(ESD_NAME, file, 0); } int esd_play_sound_data (UChar_Binary *data, size_t length, int vol); int -esd_play_sound_data (UChar_Binary *data, size_t length, int vol) +esd_play_sound_data (UChar_Binary *data, size_t length, int UNUSED (vol)) { /* #### FIXME: vol is ignored */ size_t (*parsesndfile)(void **dayta,size_t *sz,void **outbuf); size_t (*sndcnv)(void **dayta,size_t *sz,void **);