aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-06-07 03:49:21 -0700
committerChris Robinson <[email protected]>2010-06-07 03:49:21 -0700
commit6fd6e4eacfc25d775368e7f2ba193cb69b48df89 (patch)
tree4765c4f897023b4fbf4e24ba8514bb20603e4dd5
parentce0727097391ea32eefe5cac592b1ca8a2a2c397 (diff)
Remove unused variable
-rw-r--r--Alc/alsa.c2
1 files changed, 0 insertions, 2 deletions
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;