diff options
Diffstat (limited to 'src/pulsecore/idxset.c')
-rw-r--r-- | src/pulsecore/idxset.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pulsecore/idxset.c b/src/pulsecore/idxset.c index b6423efd..2de64069 100644 --- a/src/pulsecore/idxset.c +++ b/src/pulsecore/idxset.c @@ -318,8 +318,7 @@ void* pa_idxset_rrobin(pa_idxset *s, uint32_t *idx) { hash = *idx % NBUCKETS; - if (!(e = index_scan(s, hash, *idx))) - return NULL; + e = index_scan(s, hash, *idx); if (e && e->iterate_next) e = e->iterate_next; |