diff src/ntplay.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 a8d8f419b459
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/ntplay.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/ntplay.c	Mon Sep 20 19:20:08 2004 +0000
@@ -35,7 +35,7 @@
 			      int volume, int convert);
 
 void
-play_sound_file (Extbyte *sound_file, int volume)
+play_sound_file (Extbyte *sound_file, int UNUSED (volume))
 {
   DWORD flags = SND_ASYNC | SND_NODEFAULT | SND_FILENAME;
   Lisp_Object fname =
@@ -82,7 +82,7 @@
 /* mswindows can't cope with playing a sound from alloca space so we
    have to convert if necessary */
 static int
-play_sound_data_1 (UChar_Binary *data, int length, int volume,
+play_sound_data_1 (UChar_Binary *data, int length, int UNUSED (volume),
 		   int convert_to_malloc)
 {
   DWORD flags = SND_ASYNC | SND_MEMORY | SND_NODEFAULT;