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:
9c523e0
)
explcitly initialize tls memory to NULL
author
Lennart Poettering
<lennart@poettering.net>
Tue, 11 Sep 2007 15:14:46 +0000
(15:14 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Tue, 11 Sep 2007 15:14:46 +0000
(15:14 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1807
fefdeb5f
-60dc-0310-8127-
8f9354f1896f
src/pulsecore/thread.h
patch
|
blob
|
history
diff --git
a/src/pulsecore/thread.h
b/src/pulsecore/thread.h
index
4e5425d
..
4a2b1bb
100644
(file)
--- a/
src/pulsecore/thread.h
+++ b/
src/pulsecore/thread.h
@@
-85,7
+85,7
@@
void *pa_tls_set(pa_tls *t, void *userdata);
/* An optimized version of the above that requires no dynamic
* allocation if the compiler supports __thread */
#define PA_STATIC_TLS_DECLARE_NO_FREE(name) \
- static __thread void *name##_tls
;
\
+ static __thread void *name##_tls
= NULL;
\
static inline void* name##_tls_get(void) { \
return name##_tls; \
} \