mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -04:00
impl-node: add () around &&
To fix a compiler warning.
This commit is contained in:
parent
52b23384e0
commit
d47b4974ce
1 changed files with 2 additions and 2 deletions
|
|
@ -535,8 +535,8 @@ static int suspend_node(struct pw_impl_node *this)
|
||||||
pw_log_debug("%p: suspend node state:%s", this,
|
pw_log_debug("%p: suspend node state:%s", this,
|
||||||
pw_node_state_as_string(this->info.state));
|
pw_node_state_as_string(this->info.state));
|
||||||
|
|
||||||
if (this->info.state > 0 && this->info.state < PW_NODE_STATE_SUSPENDED ||
|
if ((this->info.state > 0 && this->info.state < PW_NODE_STATE_SUSPENDED) ||
|
||||||
this->info.state == PW_NODE_STATE_SUSPENDED && impl->pending_state == PW_NODE_STATE_SUSPENDED)
|
(this->info.state == PW_NODE_STATE_SUSPENDED && impl->pending_state == PW_NODE_STATE_SUSPENDED))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
spa_list_for_each(p, &this->input_ports, link) {
|
spa_list_for_each(p, &this->input_ports, link) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue