diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-01-15 22:42:25 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-01-15 22:42:25 +0100 |
commit | 5eea018d806f96e70c42e6d26922bb6a0c35d466 (patch) | |
tree | 41728718a5fc725af45dd7524548e959eef066bd /sal/qa/osl | |
parent | 82633cdad36083e537886b832483f4e73263735a (diff) |
Clang -Wdangling-else, -Wuninitialized.
Diffstat (limited to 'sal/qa/osl')
-rw-r--r-- | sal/qa/osl/mutex/osl_Mutex.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx index f4f34d6e0c7b..745f35b84ee1 100644 --- a/sal/qa/osl/mutex/osl_Mutex.cxx +++ b/sal/qa/osl/mutex/osl_Mutex.cxx @@ -266,7 +266,7 @@ protected: { // block here if the mutex has been acquired Mutex* pGlobalMutex; - pGlobalMutex = pGlobalMutex->getGlobalMutex( ); + pGlobalMutex = Mutex::getGlobalMutex( ); pGlobalMutex->acquire( ); printf("# Global Mutex acquired. \n" ); pGlobalMutex->release( ); @@ -522,7 +522,7 @@ namespace osl_Mutex void getGlobalMutex_001() { Mutex* pGlobalMutex; - pGlobalMutex = pGlobalMutex->getGlobalMutex(); + pGlobalMutex = Mutex::getGlobalMutex(); pGlobalMutex->acquire(); GlobalMutexThread myThread; @@ -545,11 +545,11 @@ namespace osl_Mutex sal_Bool bRes; Mutex *pGlobalMutex; - pGlobalMutex = pGlobalMutex->getGlobalMutex( ); + pGlobalMutex = Mutex::getGlobalMutex( ); pGlobalMutex->acquire( ); { Mutex *pGlobalMutex1; - pGlobalMutex1 = pGlobalMutex1->getGlobalMutex( ); + pGlobalMutex1 = Mutex::getGlobalMutex( ); bRes = pGlobalMutex1->release( ); } |