ver.dll16: filelen is an in/out parameter (Coverity).

This commit is contained in:
Marcus Meissner 2014-05-04 12:52:31 +02:00 committed by Alexandre Julliard
parent 8595d70203
commit e399729462
1 changed files with 2 additions and 1 deletions

View File

@ -522,7 +522,8 @@ DWORD WINAPI VerInstallFile16( UINT16 flags,
LPSTR lpszSrcDir, LPSTR lpszDestDir, LPSTR lpszCurDir, LPSTR lpszSrcDir, LPSTR lpszDestDir, LPSTR lpszCurDir,
LPSTR lpszTmpFile, UINT16 *lpwTmpFileLen ) LPSTR lpszTmpFile, UINT16 *lpwTmpFileLen )
{ {
UINT filelen; UINT filelen = *lpwTmpFileLen;
DWORD retv = VerInstallFileA( flags, lpszSrcFilename, lpszDestFilename, DWORD retv = VerInstallFileA( flags, lpszSrcFilename, lpszDestFilename,
lpszSrcDir, lpszDestDir, lpszCurDir, lpszSrcDir, lpszDestDir, lpszCurDir,
lpszTmpFile, &filelen); lpszTmpFile, &filelen);