[pulseaudio-discuss] [PATCH v2 12/19] core: Fix asserting command in protocol-native
Peter Meerwald
pmeerw at pmeerw.net
Thu Dec 19 03:11:41 PST 2013
From: Peter Meerwald <p.meerwald at bct-electronic.com>
https://scan7.coverity.com:8443/reports.htm#v10206/p10016/fileInstanceId=8690&defectInstanceId=3688&mergedDefectId=591259
Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
src/pulsecore/protocol-native.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index 071e5e2..7361a89 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -4745,7 +4745,7 @@ static void command_set_sink_or_source_port(pa_pdispatch *pd, uint32_t command,
} else {
pa_source *source;
- pa_assert(command = PA_COMMAND_SET_SOURCE_PORT);
+ pa_assert(command == PA_COMMAND_SET_SOURCE_PORT);
if (idx != PA_INVALID_INDEX)
source = pa_idxset_get_by_index(c->protocol->core->sources, idx);
--
1.7.9.5
More information about the pulseaudio-discuss
mailing list