mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
alsa-util: fix parenthesis position in err assignment
Issue detected by CppCheck and PVS Studio
This commit is contained in:
parent
50186d7fcb
commit
3e6ce485f0
1 changed files with 1 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ int pa_alsa_set_sw_params(snd_pcm_t *pcm, snd_pcm_uframes_t avail_min, bool peri
|
|||
|
||||
snd_pcm_sw_params_alloca(&swparams);
|
||||
|
||||
if ((err = snd_pcm_sw_params_current(pcm, swparams) < 0)) {
|
||||
if ((err = snd_pcm_sw_params_current(pcm, swparams)) < 0) {
|
||||
pa_log_warn("Unable to determine current swparams: %s\n", pa_alsa_strerror(err));
|
||||
return err;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue