Fix some set-but-not-used variable warnings from gcc 4.6
[ardour.git] / libs / pbd / pool.cc
index 8919f10f9a64114bfcb36c8c1cef17616492e1bd..9a5e65332b4f18d24581876e843574a296b06c8f 100644 (file)
@@ -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);