Add UNUSED(paramname) macro to be used in parameter lists, to quieten
[ira/wip.git] / source3 / smbd / server.c
index 08bcf22dd293392498bceb3a6cbba99b0d098214..a8c1bc5c15ea57ac44ab5931e337a47bd2b38be3 100644 (file)
@@ -80,7 +80,8 @@ static void  killkids(void)
   process a sam sync message - not sure whether to do this here or
   somewhere else
 ****************************************************************************/
-static void msg_sam_sync(int msg_type, pid_t pid, void *buf, size_t len)
+static void msg_sam_sync(int UNUSED(msg_type), pid_t UNUSED(pid),
+                        void *UNUSED(buf), size_t UNUSED(len))
 {
         DEBUG(10, ("** sam sync message received, ignoring\n"));
 }