Kaydet (Commit) 9b6b25e7 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: -Wempty-body

Change-Id: I07e0b3b466a0fac4c8ddf279b546f807501bc2e7
üst 6a9f0cdc
...@@ -813,17 +813,18 @@ sal_Bool SAL_CALL osl_writeProfileIdent(oslProfile Profile, ...@@ -813,17 +813,18 @@ sal_Bool SAL_CALL osl_writeProfileIdent(oslProfile Profile,
sal_uInt32 FirstId, const sal_Char* Strings[], sal_uInt32 FirstId, const sal_Char* Strings[],
sal_uInt32 Value) sal_uInt32 Value)
{ {
int i, n; int i, n = 0;
sal_Bool bRet=sal_False; sal_Bool bRet=sal_False;
#ifdef TRACE_OSL_PROFILE #ifdef TRACE_OSL_PROFILE
OSL_TRACE("In osl_writeProfileIdent"); OSL_TRACE("In osl_writeProfileIdent");
#endif #endif
for (n = 0; Strings[n] != NULL; n++); while (Strings[n] != NULL)
++n;
if ((i = Value - FirstId) >= n) if ((i = Value - FirstId) >= n)
bRet=sal_False; bRet = sal_False;
else else
bRet = osl_writeProfileString(Profile, pszSection, pszEntry, Strings[i]); bRet = osl_writeProfileString(Profile, pszSection, pszEntry, Strings[i]);
......
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