From 10887fe43038abfe16adb84ba26fa0bf7d4c923b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 23 Apr 2015 09:47:27 +0100 Subject: cppcheck: redundantAssignment Change-Id: Ib296edde6e1f3996cbfe46c77810bb5c3da6db73 --- sal/osl/unx/profile.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx index a291d5a04df1..ac6a24f56142 100644 --- a/sal/osl/unx/profile.cxx +++ b/sal/osl/unx/profile.cxx @@ -1817,11 +1817,8 @@ static osl_TProfileImpl* acquireProfile(oslProfile Profile, bool bWriteable) if (memcmp(&Stamp, &(pProfile->m_Stamp), sizeof(osl_TStamp))) { - bool bRet = false; - pProfile->m_Stamp = Stamp; - - bRet=loadProfile(pProfile->m_pFile, pProfile); + bool bRet = loadProfile(pProfile->m_pFile, pProfile); SAL_WARN_IF(!bRet, "sal.osl", "loadProfile(pProfile->m_pFile, pProfile) ==> false"); (void)bRet; } -- cgit