projects
/
profile
/
ivi
/
pulseaudio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eae903
)
if no thread-mq is attached to the current thread, return an error, don't hit an...
author
Lennart Poettering
<lennart@poettering.net>
Fri, 10 Aug 2007 23:40:05 +0000
(23:40 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 10 Aug 2007 23:40:05 +0000
(23:40 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1625
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/thread-mq.c
patch
|
blob
|
history
diff --git
a/src/pulsecore/thread-mq.c
b/src/pulsecore/thread-mq.c
index
224a14c
..
89b65e5
100644
(file)
--- a/
src/pulsecore/thread-mq.c
+++ b/
src/pulsecore/thread-mq.c
@@
-110,10
+110,7
@@
void pa_thread_mq_install(pa_thread_mq *q) {
}
pa_thread_mq *pa_thread_mq_get(void) {
- pa_thread_mq *q;
-
pa_run_once(&once, init_tls);
- pa_assert_se(q = pa_tls_get(tls));
- return q;
+ return pa_tls_get(tls);
}