Kaydet (Commit) 10887fe4 authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: redundantAssignment

Change-Id: Ib296edde6e1f3996cbfe46c77810bb5c3da6db73
üst 873b1e16
...@@ -1817,11 +1817,8 @@ static osl_TProfileImpl* acquireProfile(oslProfile Profile, bool bWriteable) ...@@ -1817,11 +1817,8 @@ static osl_TProfileImpl* acquireProfile(oslProfile Profile, bool bWriteable)
if (memcmp(&Stamp, &(pProfile->m_Stamp), sizeof(osl_TStamp))) if (memcmp(&Stamp, &(pProfile->m_Stamp), sizeof(osl_TStamp)))
{ {
bool bRet = false;
pProfile->m_Stamp = Stamp; pProfile->m_Stamp = Stamp;
bool bRet = loadProfile(pProfile->m_pFile, pProfile);
bRet=loadProfile(pProfile->m_pFile, pProfile);
SAL_WARN_IF(!bRet, "sal.osl", "loadProfile(pProfile->m_pFile, pProfile) ==> false"); SAL_WARN_IF(!bRet, "sal.osl", "loadProfile(pProfile->m_pFile, pProfile) ==> false");
(void)bRet; (void)bRet;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment