From 21a9bc8716a88fa2472c525b2e6f84fe1213a8f8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 16 Nov 2015 09:40:28 +0200 Subject: no need to take a mutex when only dealing with stack-local data Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65 Reviewed-on: https://gerrit.libreoffice.org/19979 Tested-by: Jenkins Reviewed-by: Noel Grandin --- connectivity/source/cpool/ZPoolCollection.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'connectivity/source/cpool') diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx index d04dd4e2e19a..77d1c19d247d 100644 --- a/connectivity/source/cpool/ZPoolCollection.cxx +++ b/connectivity/source/cpool/ZPoolCollection.cxx @@ -134,7 +134,6 @@ sal_Int32 SAL_CALL OPoolCollection::getLoginTimeout( ) throw(RuntimeException, OUString SAL_CALL OPoolCollection::getImplementationName( ) throw(RuntimeException, std::exception) { - MutexGuard aGuard(m_aMutex); return getImplementationName_Static(); } -- cgit