diff src/miscplay.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 943eaba38521
children ecf1ebac70d8
line wrap: on
line diff
--- a/src/miscplay.c	Mon Sep 20 19:11:29 2004 +0000
+++ b/src/miscplay.c	Mon Sep 20 19:20:08 2004 +0000
@@ -29,12 +29,6 @@
 #include "syssignal.h"
 #include "sysfile.h"
 
-#ifdef __GNUC__
-#define UNUSED(x) ((void)(x))
-#else
-#define UNUSED(x)
-#endif
-
 /* Maintain global variable for keeping parser state information; this struct
    is set to zero before the first invocation of the parser. The use of a
    global variable prevents multiple concurrent executions of this code, but
@@ -102,11 +96,9 @@
 
 /* Currently we cannot cope with files in VOC format; if you really need
    to play these files, they should be converted by using SOX */
-static size_t parsevoc(void **data,size_t *sz,void **outbuf)
+static size_t parsevoc(void **UNUSED (data), size_t *UNUSED (sz),
+		       void **UNUSED (outbuf))
 {
-  UNUSED(data);
-  UNUSED(sz);
-  UNUSED(outbuf);
   return(0);
 }