diff --git a/src/osg/Referenced.cpp b/src/osg/Referenced.cpp index 9fc3523e5..7e59d6046 100644 --- a/src/osg/Referenced.cpp +++ b/src/osg/Referenced.cpp @@ -350,7 +350,6 @@ int Referenced::unref_nodelete() const #if defined(_OSG_REFERENCED_USE_ATOMIC_OPERATIONS) return --_refCount; #else - bool needUnreferencedSignal = false; if (_refMutex) { OpenThreads::ScopedLock lock(*_refMutex);