summaryrefslogtreecommitdiff
path: root/libs/pbd/pool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pool.cc')
-rw-r--r--libs/pbd/pool.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/pbd/pool.cc b/libs/pbd/pool.cc
index 8919f10f9a..9a5e65332b 100644
--- a/libs/pbd/pool.cc
+++ b/libs/pbd/pool.cc
@@ -178,8 +178,7 @@ PerThreadPool::PerThreadPool ()
{
{
/* for some reason this appears necessary to get glib's thread private stuff to work */
- GPrivate* key;
- key = g_private_new (NULL);
+ g_private_new (NULL);
}
_key = g_private_new (free_per_thread_pool);