msi: Avoid returning an uninitialized variable.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2018-04-22 09:53:10 -05:00 committed by Alexandre Julliard
parent d2b0981a2c
commit 859f455cb9
1 changed files with 1 additions and 1 deletions

View File

@ -1059,7 +1059,7 @@ UINT copy_remote_record(const struct wire_record *in, MSIHANDLE out)
{
MSIRECORD *rec;
unsigned int i;
UINT r;
UINT r = ERROR_SUCCESS;
if (!(rec = msihandle2msiinfo(out, MSIHANDLETYPE_RECORD)))
return ERROR_INVALID_HANDLE;