Commit 0fca0e00 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

cabinet: Write-strings warning fix.

parent 5d1b0d89
......@@ -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;
......
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