diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-05 19:01:51 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-05 19:01:51 +0200 |
commit | 8a156d1a23359d3b4d4b0cf44be1b40e77b5db03 (patch) | |
tree | 720db15199ab6da8bf38e6cd9bf4e57628a04566 /src/pulse/ext-stream-restore.c | |
parent | 98b81636b7d3ba4a49f1c23118a669c8472961de (diff) |
don't enforce valid callbacks for extension module APIs
Diffstat (limited to 'src/pulse/ext-stream-restore.c')
-rw-r--r-- | src/pulse/ext-stream-restore.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pulse/ext-stream-restore.c b/src/pulse/ext-stream-restore.c index c9f70bf59..703179c53 100644 --- a/src/pulse/ext-stream-restore.c +++ b/src/pulse/ext-stream-restore.c @@ -85,7 +85,6 @@ pa_operation *pa_ext_stream_restore_test( pa_assert(c); pa_assert(PA_REFCNT_VALUE(c) >= 1); - pa_assert(cb); PA_CHECK_VALIDITY_RETURN_NULL(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE); PA_CHECK_VALIDITY_RETURN_NULL(c, c->version >= 14, PA_ERR_NOTSUPPORTED); @@ -166,7 +165,6 @@ pa_operation *pa_ext_stream_restore_read( pa_assert(c); pa_assert(PA_REFCNT_VALUE(c) >= 1); - pa_assert(cb); PA_CHECK_VALIDITY_RETURN_NULL(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE); PA_CHECK_VALIDITY_RETURN_NULL(c, c->version >= 14, PA_ERR_NOTSUPPORTED); @@ -200,7 +198,6 @@ pa_operation *pa_ext_stream_restore_write( pa_assert(PA_REFCNT_VALUE(c) >= 1); pa_assert(mode == PA_UPDATE_MERGE || mode == PA_UPDATE_REPLACE || mode == PA_UPDATE_SET); pa_assert(data); - pa_assert(cb); PA_CHECK_VALIDITY_RETURN_NULL(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE); PA_CHECK_VALIDITY_RETURN_NULL(c, c->version >= 14, PA_ERR_NOTSUPPORTED); @@ -243,7 +240,6 @@ pa_operation *pa_ext_stream_restore_delete( pa_assert(c); pa_assert(PA_REFCNT_VALUE(c) >= 1); pa_assert(s); - pa_assert(cb); PA_CHECK_VALIDITY_RETURN_NULL(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE); PA_CHECK_VALIDITY_RETURN_NULL(c, c->version >= 14, PA_ERR_NOTSUPPORTED); @@ -276,7 +272,6 @@ pa_operation *pa_ext_stream_restore_subscribe( pa_assert(c); pa_assert(PA_REFCNT_VALUE(c) >= 1); - pa_assert(cb); PA_CHECK_VALIDITY_RETURN_NULL(c, c->state == PA_CONTEXT_READY, PA_ERR_BADSTATE); PA_CHECK_VALIDITY_RETURN_NULL(c, c->version >= 14, PA_ERR_NOTSUPPORTED); |