mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Silence a warning.
svn path=/trunk/; revision=42228
This commit is contained in:
parent
79b4bf14f7
commit
015656ff6d
1 changed files with 22 additions and 18 deletions
|
@ -729,15 +729,7 @@ InternalTrusteeAToW(IN PTRUSTEE_A pTrusteeA,
|
||||||
StrBuf,
|
StrBuf,
|
||||||
BufferSize) == 0)
|
BufferSize) == 0)
|
||||||
{
|
{
|
||||||
ConvertErr:
|
goto ConvertErr;
|
||||||
ErrorCode = GetLastError();
|
|
||||||
|
|
||||||
/* cleanup */
|
|
||||||
RtlFreeHeap(RtlGetProcessHeap(),
|
|
||||||
0,
|
|
||||||
*pTrusteeW);
|
|
||||||
|
|
||||||
return ErrorCode;
|
|
||||||
}
|
}
|
||||||
oan->ptstrName = StrBuf;
|
oan->ptstrName = StrBuf;
|
||||||
}
|
}
|
||||||
|
@ -759,6 +751,16 @@ NothingToConvert:
|
||||||
}
|
}
|
||||||
|
|
||||||
return ErrorCode;
|
return ErrorCode;
|
||||||
|
|
||||||
|
ConvertErr:
|
||||||
|
ErrorCode = GetLastError();
|
||||||
|
|
||||||
|
/* cleanup */
|
||||||
|
RtlFreeHeap(RtlGetProcessHeap(),
|
||||||
|
0,
|
||||||
|
*pTrusteeW);
|
||||||
|
|
||||||
|
return ErrorCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -930,15 +932,7 @@ InternalExplicitAccessAToW(IN ULONG cCountOfExplicitEntries,
|
||||||
StrBuf,
|
StrBuf,
|
||||||
BufferSize) == 0)
|
BufferSize) == 0)
|
||||||
{
|
{
|
||||||
ConvertErr:
|
goto ConvertErr;
|
||||||
ErrorCode = GetLastError();
|
|
||||||
|
|
||||||
/* cleanup */
|
|
||||||
RtlFreeHeap(RtlGetProcessHeap(),
|
|
||||||
0,
|
|
||||||
peaw);
|
|
||||||
|
|
||||||
return ErrorCode;
|
|
||||||
}
|
}
|
||||||
oan->ptstrName = StrBuf;
|
oan->ptstrName = StrBuf;
|
||||||
|
|
||||||
|
@ -973,6 +967,16 @@ RawTrusteeCopy:
|
||||||
}
|
}
|
||||||
|
|
||||||
return ErrorCode;
|
return ErrorCode;
|
||||||
|
|
||||||
|
ConvertErr:
|
||||||
|
ErrorCode = GetLastError();
|
||||||
|
|
||||||
|
/* cleanup */
|
||||||
|
RtlFreeHeap(RtlGetProcessHeap(),
|
||||||
|
0,
|
||||||
|
peaw);
|
||||||
|
|
||||||
|
return ErrorCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue