summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-07-02 17:16:46 +0000
committerCarl Hetherington <carl@carlh.net>2011-07-02 17:16:46 +0000
commitcd17e05e3a22614387050736c89a4727c4da0d61 (patch)
treef224ba7c78d83a9abc5d1c8ecf7bedb31005ed74 /libs/pbd
parentc03ea1fdb307fadff2b3c3f837426f1039bf5b10 (diff)
Fix some set-but-not-used variable warnings from gcc 4.6
git-svn-id: svn://localhost/ardour2/branches/3.0@9783 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd')
-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);