From 5057f8bbeac73d437f261713cfc9914836ea87a7 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Sun, 20 Nov 2005 14:11:09 +0000 Subject: [PATCH] fix compilation with gcc 2 Fix compilation with gcc 2.* by removing a superfluous variable definition. --- src/pcm/pcm_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.1