[pulseaudio-commits] src/pulsecore
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Thu Nov 28 20:57:04 PST 2013
src/pulsecore/protocol-native.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 5ddb486a8c8f40a9d99849740ae55df0a33ed3b2
Author: Scott Reeves <sreeves at suse.com>
Date: Thu Nov 21 14:43:51 2013 -0700
protocol-native: Remove written differently but functionally redundant check.
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index 21a9fe2..86898e8 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -3491,7 +3491,6 @@ static void command_get_info(pa_pdispatch *pd, uint32_t command, uint32_t tag, p
command == PA_COMMAND_GET_SOURCE_INFO ||
(idx != PA_INVALID_INDEX || name), tag, PA_ERR_INVALID);
CHECK_VALIDITY(c->pstream, idx == PA_INVALID_INDEX || !name, tag, PA_ERR_INVALID);
- CHECK_VALIDITY(c->pstream, !name || idx == PA_INVALID_INDEX, tag, PA_ERR_INVALID);
if (command == PA_COMMAND_GET_SINK_INFO) {
if (idx != PA_INVALID_INDEX)
More information about the pulseaudio-commits
mailing list