Mercurial > hg > xemacs-beta
diff src/sound.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 | 01c57eb70ae9 |
children | d5131a81147e |
line wrap: on
line diff
--- a/src/sound.c Mon Sep 20 19:11:29 2004 +0000 +++ b/src/sound.c Mon Sep 20 19:20:08 2004 +0000 @@ -493,8 +493,13 @@ DEFUN ("wait-for-sounds", Fwait_for_sounds, 0, 1, 0, /* Wait for all sounds to finish playing on DEVICE. */ - (device)) - + ( +#ifdef HAVE_NAS_SOUND + device +#else + UNUSED (device) +#endif + )) { #ifdef HAVE_NAS_SOUND struct device *d = decode_device (device); @@ -510,7 +515,13 @@ DEFUN ("connected-to-nas-p", Fconnected_to_nas_p, 0, 1, 0, /* Return t if connected to NAS server for sounds on DEVICE. */ - (device)) + ( +#ifdef HAVE_NAS_SOUND + device +#else + UNUSED (device) +#endif + )) { #ifdef HAVE_NAS_SOUND return DEVICE_CONNECTED_TO_NAS_P (decode_device (device)) ? Qt : Qnil;