cabinet: Write-strings warning fix.

oldstable
Andrew Talbot 2006-07-29 14:49:13 +01:00 committed by Alexandre Julliard
parent 5d1b0d89b4
commit 0fca0e00aa
1 changed files with 2 additions and 1 deletions

View File

@ -303,6 +303,7 @@ HRESULT WINAPI Extract(EXTRACTdest *dest, LPCSTR szCabName)
HRESULT res = S_OK;
HFDI hfdi;
ERF erf;
static CHAR empty[] = "";
TRACE("(%p, %s)\n", dest, szCabName);
@ -322,7 +323,7 @@ HRESULT WINAPI Extract(EXTRACTdest *dest, LPCSTR szCabName)
if (GetFileAttributesA(dest->directory) == INVALID_FILE_ATTRIBUTES)
return S_OK;
if (!FDICopy(hfdi, (LPSTR)szCabName, "", 0,
if (!FDICopy(hfdi, (LPSTR)szCabName, empty, 0,
fdi_notify_extract, NULL, dest))
res = E_FAIL;