--- a/src/audio_out/audio_jack_out.c
+++ b/src/audio_out/audio_jack_out.c
@@ -278,12 +278,13 @@
   return 0;
 }
 
-
+#if 0
 static void jack_shutdown (void *arg)
 {
   jack_driver_t *this = (jack_driver_t *) arg;
   this->client = NULL;
 }
+#endif
 
 /*
  * Open the Jack audio device
@@ -295,7 +296,6 @@
 {
   jack_driver_t *this = (jack_driver_t *) this_gen;
   const char **matching_ports = NULL;
-  char *port_name = NULL;
   jack_client_t *client = this->client;
 
   int port_flags = JackPortIsInput;
@@ -686,7 +686,6 @@
   uint32_t rate;
   char *jack_device;
   const char **matching_ports = NULL;
-  const char **port_names;
 
   /* for usability reasons, keep this in sync with audio_oss_out.c */
   static char *speaker_arrangement[] = {