Commit 325330efdb4e1c0c1b790ec0af6f443b87753eab

Ryan C. Gordon 2017-06-09T17:37:43

jack: removed accidental copy/paste.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/audio/jack/SDL_jackaudio.c b/src/audio/jack/SDL_jackaudio.c
index c0c1e1e..44a40e6 100644
--- a/src/audio/jack/SDL_jackaudio.c
+++ b/src/audio/jack/SDL_jackaudio.c
@@ -367,8 +367,6 @@ JACK_OpenDevice(_THIS, void *handle, const char *devname, int iscapture)
 
     /* once activated, we can connect all the ports. */
     for (i = 0; i < channels; i++) {
-        char portname[32];
-        SDL_snprintf(portname, sizeof (portname), "sdl_jack_%s_%d", sdlportstr, i);
         const char *sdlport = JACK_jack_port_name(this->hidden->sdlports[i]);
         const char *srcport = iscapture ? devports[i] : sdlport;
         const char *dstport = iscapture ? sdlport : devports[i];