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:
David Henningsson 2013-06-28 16:16:22 +02:00
parent 67132eea1a
commit 242b8e5fd3

View file

@ -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) {