mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
alsa: Turn one assertion into two
According to coding style, one should have one assertion per line and not combine assertions. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
26bf2df903
commit
a89ca82e68
1 changed files with 2 additions and 2 deletions
|
|
@ -378,8 +378,8 @@ static int report_jack_state(snd_hctl_elem_t *elem, unsigned int mask) {
|
|||
pa_assert(port);
|
||||
}
|
||||
else {
|
||||
pa_assert(jack->path && jack->path->port);
|
||||
port = jack->path->port;
|
||||
pa_assert(jack->path);
|
||||
pa_assert_se(port = jack->path->port);
|
||||
}
|
||||
report_port_state(port, u);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue