From 6fd6e4eacfc25d775368e7f2ba193cb69b48df89 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 7 Jun 2010 03:49:21 -0700 Subject: Remove unused variable --- Alc/alsa.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Alc/alsa.c') diff --git a/Alc/alsa.c b/Alc/alsa.c index 67ee1f05..06e68df4 100644 --- a/Alc/alsa.c +++ b/Alc/alsa.c @@ -758,7 +758,6 @@ static void alsa_stop_playback(ALCdevice *device) static ALCboolean alsa_open_capture(ALCdevice *pDevice, const ALCchar *deviceName) { - const char *devName; snd_pcm_hw_params_t *p; snd_pcm_uframes_t bufferSizeInFrames; snd_pcm_format_t format; @@ -788,7 +787,6 @@ static ALCboolean alsa_open_capture(ALCdevice *pDevice, const ALCchar *deviceNam if(allCaptureDevNameMap[idx].name && strcmp(deviceName, allCaptureDevNameMap[idx].name) == 0) { - devName = allCaptureDevNameMap[idx].name; if(idx > 0) sprintf(driver, "plughw:%d,%d", allCaptureDevNameMap[idx].card, allCaptureDevNameMap[idx].dev); break; -- cgit v1.2.3