mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
fix compilation with gcc 2
Fix compilation with gcc 2.* by removing a superfluous variable definition.
This commit is contained in:
parent
19be1429d1
commit
5057f8bbea
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
err = INTERNAL(snd_pcm_forward)(file->gen.slave, frames);
|
||||||
if (err > 0) {
|
if (err > 0) {
|
||||||
file->appl_ptr = (file->appl_ptr + err) % file->wbuf_size;
|
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;
|
file->wbuf_used_bytes += n;
|
||||||
}
|
}
|
||||||
return err;
|
return err;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue