aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-01-25 17:44:20 +0100
committerTakashi Iwai <tiwai@suse.de>2012-01-25 17:44:20 +0100
commiteb06ee5f29ad5fd7f032dff92702a2d0e12d2973 (patch)
tree63f076fa57e8b7d0ad6b04f95cf2dc2993dc4fb7
parentaa9148835a51c4c78bc2e9df4edcf66a9304260d (diff)
downloadsalsa-lib-eb06ee5f29ad5fd7f032dff92702a2d0e12d2973.tar.gz
Rip off the unused variable
-rw-r--r--src/pcm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pcm.c b/src/pcm.c
index b44e1c4..2f3c567 100644
--- a/src/pcm.c
+++ b/src/pcm.c
@@ -731,12 +731,10 @@ int snd_pcm_areas_copy(const snd_pcm_channel_area_t *dst_areas,
unsigned int channels, snd_pcm_uframes_t frames,
snd_pcm_format_t format)
{
- int width;
if (!channels)
return -EINVAL;
if (!frames)
return -EINVAL;
- width = snd_pcm_format_physical_width(format);
while (channels > 0) {
snd_pcm_area_copy(dst_areas, dst_offset,
src_areas, src_offset,