diff options
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/osl/process/osl_Thread.cxx | 3 | ||||
-rw-r--r-- | sal/qa/osl/process/osl_process.cxx | 3 | ||||
-rw-r--r-- | sal/qa/rtl/doublelock/rtl_doublelocking.cxx | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx index 3c9891b76e54..d551f471d989 100644 --- a/sal/qa/osl/process/osl_Thread.cxx +++ b/sal/qa/osl/process/osl_Thread.cxx @@ -263,9 +263,8 @@ class OCountThread : public Thread { ThreadSafeValue<sal_Int32> m_aFlag; public: - OCountThread() + OCountThread() : m_nWaitSec(0) { - m_nWaitSec = 0; t_print("new OCountThread thread %u!\n", static_cast<unsigned>(getIdentifier())); } sal_Int32 getValue() { return m_aFlag.getValue(); } diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx index 104f9238eea6..4555a0d83394 100644 --- a/sal/qa/osl/process/osl_process.cxx +++ b/sal/qa/osl/process/osl_process.cxx @@ -161,10 +161,9 @@ public: // ctor Test_osl_executeProcess() : - env_param_(OUString("-env")) + env_param_(OUString("-env")), suCWD(getExecutablePath()) { parameters_[0] = env_param_.pData; - suCWD = getExecutablePath(); #if defined(_WIN32) suExecutableFileURL = suCWD + "/" "osl_process_child.exe"; diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx index 6f59e55e62cd..ef639423d774 100644 --- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx +++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx @@ -64,9 +64,9 @@ class OGetThread : public osl::Thread public: OGetThread() :m_nOK(0), - m_nFails(0) + m_nFails(0), + m_sConstStr(CONST_TEST_STRING) { - m_sConstStr = CONST_TEST_STRING; } sal_Int32 getOK() { osl::MutexGuard g(m_mutex); return m_nOK; } |