mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Revert "alsa-mixer: Add a couple of assertions"
This reverts commit 2613e4c747.
Please don't replace correct NULL pointer checks with assertions.
This commit is contained in:
parent
67132eea1a
commit
242b8e5fd3
1 changed files with 3 additions and 2 deletions
|
|
@ -4530,9 +4530,10 @@ void pa_alsa_path_set_add_ports(
|
|||
pa_alsa_path *path;
|
||||
void *state;
|
||||
|
||||
pa_assert(ps);
|
||||
pa_assert(ports);
|
||||
pa_assert(core);
|
||||
|
||||
if (!ps)
|
||||
return;
|
||||
|
||||
PA_HASHMAP_FOREACH(path, ps->paths, state) {
|
||||
if (!path->settings || !path->settings->next) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue