From: Clemens Ladisch Date: Sun, 20 Nov 2005 14:11:09 +0000 (+0000) Subject: fix compilation with gcc 2 X-Git-Tag: v1.0.11rc1~21 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=5057f8bbeac73d437f261713cfc9914836ea87a7;p=alsa-lib.git fix compilation with gcc 2 Fix compilation with gcc 2.* by removing a superfluous variable definition. --- diff --git a/src/pcm/pcm_file.c b/src/pcm/pcm_file.c index de5bccb4..4560bf4a 100644 --- a/src/pcm/pcm_file.c +++ b/src/pcm/pcm_file.c @@ -188,7 +188,7 @@ static snd_pcm_sframes_t snd_pcm_file_forward(snd_pcm_t *pcm, snd_pcm_uframes_t err = INTERNAL(snd_pcm_forward)(file->gen.slave, frames); if (err > 0) { file->appl_ptr = (file->appl_ptr + err) % file->wbuf_size; - snd_pcm_uframes_t n = snd_pcm_frames_to_bytes(pcm, err); + n = snd_pcm_frames_to_bytes(pcm, err); file->wbuf_used_bytes += n; } return err;