msi: Write-strings warning fix.

This commit is contained in:
Andrew Talbot 2006-08-11 15:36:30 +01:00 committed by Alexandre Julliard
parent b6f190ee42
commit 92725e5299
1 changed files with 2 additions and 1 deletions

View File

@ -283,6 +283,7 @@ static BOOL extract_cabinet_file(MSIPACKAGE* package, LPCWSTR source,
BOOL ret;
char *cabinet;
char *cab_path;
static CHAR empty[] = "";
CabData data;
TRACE("Extracting %s to %s\n",debugstr_w(source), debugstr_w(path));
@ -317,7 +318,7 @@ static BOOL extract_cabinet_file(MSIPACKAGE* package, LPCWSTR source,
data.package = package;
data.cab_path = cab_path;
ret = FDICopy(hfdi, cabinet, "", 0, cabinet_notify, NULL, &data);
ret = FDICopy(hfdi, cabinet, empty, 0, cabinet_notify, NULL, &data);
if (!ret)
ERR("FDICopy failed\n");