diff options
Diffstat (limited to 'src/thread.c')
-rw-r--r-- | src/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c index 83aa08f..f1ab80e 100644 --- a/src/thread.c +++ b/src/thread.c @@ -72,7 +72,7 @@ struct thread_notifier *thread_notifier_alloc() void thread_safe_add(struct thread_notifier *not, struct llist_head *_new) { - char c; + char c = 1; pthread_mutex_lock(¬->guard); llist_add_tail(_new, not->thread_head); |