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:
parent
d2b0981a2c
commit
859f455cb9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue